Class PencilTool
The pencil tool is an interactive tool for free-hand drawing and it is used to create a graphical representation object of PolyLineNode by default.
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class PencilTool : PencilBase, IDisposable
Constructors
PencilTool(DiagramController)
Declaration
public PencilTool(DiagramController controller)
Parameters
| Type | Name | Description |
|---|---|---|
| DiagramController | controller |
Methods
Draw(Graphics)
Draw the Specified range of Points into Line.
Declaration
public override void Draw(Graphics gfx)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | gfx | Graphics to draw on. |
Overrides
Implements
System.IDisposable