Interface IGTransform
Interface to Graph nodes that can translate and rotate.
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public interface IGTransform
Methods
Rotate(Single)
Rotates the node a specified number of degrees about its center point.
Declaration
void Rotate(float fDegree)
Parameters
Type | Name | Description |
---|---|---|
System.Single | fDegree | Number of degrees to rotate. |
RotateAt(PointF, Single)
Rotates the node a specified number of degrees about a given anchor point.
Declaration
void RotateAt(PointF ptAnchor, float fDegree)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | ptAnchor | Fixed point about which to rotate. |
System.Single | fDegree | Number of degrees to rotate. |
Translate(Single, Single)
Moves the node by the given X and Y offsets.
Declaration
void Translate(float dx, float dy)
Parameters
Type | Name | Description |
---|---|---|
System.Single | dx | Distance to move along X axis. |
System.Single | dy | Distance to move along Y axis. |