Class PolyLineTool
The polyline tool is used for adding/drawing graphical representation object of a polyline connector 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 PolyLineTool : PolyLineBase, IDisposable
Remarks
Constructors
PolyLineTool(DiagramController)
Initializes a new instance of the PolyLineTool class.
Declaration
public PolyLineTool(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 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
Draw(Graphics)
Draws the specified graphics.
Declaration
public override void Draw(Graphics gfx)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics to draw on. |
Overrides
Implements
System.IDisposable