Nevron Forum
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
How can I get the angle of the rotation of a shape
https://www.nevron.com/Forum/Topic9050.aspx
By Suyan Dong
-
Wednesday, April 8, 2015
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.
By Nevron Support
-
Wednesday, April 8, 2015
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;