Class RectangleTool
The rectangle tool is used for adding/drawing graphical representation object of a rectangle shape 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 RectangleTool : RectangleToolBase, IDisposable
Remarks
Constructors
RectangleTool(DiagramController)
Initializes a new instance of the RectangleTool class.
Declaration
public RectangleTool(DiagramController controller)
Parameters
Type | Name | Description |
---|---|---|
DiagramController | controller | The controller. |
Methods
CreateNode(RectangleF)
Creates the node from given rectangle base.
Declaration
protected override Node CreateNode(RectangleF rectBounding)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | rectBounding | The bounding rectangle. |
Returns
Type | Description |
---|---|
Node | The rectangle node. |
Overrides
Implements
System.IDisposable