Profile Picture

How can I get the angle of the rotation of a shape

Posted By Suyan Dong 9 Years Ago
Author
Message
Suyan Dong
Posted 9 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 17, Visits: 128
Dear sir 
     When I rotated a shape , How can I get the rotation of a shape? I did not find a property which can show me the angle.

Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hi,
To get the angle of rotation of a shape in radians you can use the Rotation property of the shape's transform:

float rotationInRadians = shape1.Transform.Rotation;



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic