Class ClosedCurveTool
The ClosedCurve tool is used for adding/drawing graphical representation object of a ClosedCurveNode in Diagram control.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class ClosedCurveTool : PolyLineBase, IDisposable
Remarks
Constructors
ClosedCurveTool(DiagramController)
Initializes a new instance of the ClosedCurveTool class.
Declaration
public ClosedCurveTool(DiagramController controller)
Parameters
Type | Name | Description |
---|---|---|
DiagramController | controller | The controller. |
Methods
CreateNode(PointF[])
Creates Polyline derived node.
Declaration
protected override Node CreateNode(PointF[] pts)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | pts | points to create polyline derived node from. |
Returns
Type | Description |
---|---|
Node | The closed curve node. |
Overrides
CreatePath(PointF[])
Creates Node's GraphicsPath from given points.
Declaration
protected override GraphicsPath CreatePath(PointF[] pts)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | pts | points to create path from |
Returns
Type | Description |
---|---|
System.Drawing.Drawing2D.GraphicsPath | path created from given points |
Overrides
Implements
System.IDisposable