Gets or sets the angle specifying the orientation with which a shape template is applied to the node bounds.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public float ShapeOrientation { get; set; } |
Visual Basic Copy Code |
---|
Public Property ShapeOrientation As Single |
A float value specifying the orientation angle in degrees. Initialized with the value of ShapeOrientation.
That property does not rotate the node, that is, does not rotate the bounding rectangle of the node around its center. It specifies a rotation transformation to be performed on the definition of the Shape when it is applied to a node; the node's bounding rectangle (location, width and height) remain intact. In the current MindFusion.Diagramming version, only 0, 90, 180 or 270 can be set as value of ShapeOrientation.
ShapeNode Members
ShapeNode Class
MindFusion.Diagramming Namespace
Shape Property
RotationAngle Property
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |