Profile Picture

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

Posted By Suyan Dong 10 Years Ago
Author
Message
Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)Supreme Being (4,437 reputation)

Group: Forum Members
Last Active: 8 hours ago
Posts: 3,055, Visits: 4,052
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



Suyan Dong
Posted 10 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: 8 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.



Similar Topics


Reading This Topic