Profile Picture

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

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

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Yesterday @ 1:54 AM
Posts: 3,054, Visits: 4,009
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 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.



Similar Topics


Reading This Topic