Class CurveNode
Node that is rendered as a curve.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class CurveNode : LineBase, IUnitIndependent, IDispatchNodeEvents, ISerializable, INode, ICloneable, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, IServiceProvider, IGraphNode, IDeserializationCallback, IDisposable
Constructors
CurveNode(CurveNode)
Initializes a new instance of the CurveNode class.
Declaration
public CurveNode(CurveNode src)
Parameters
Type | Name | Description |
---|---|---|
CurveNode | src | The curve node source. |
CurveNode(PointF[])
Initializes a new instance of the CurveNode class.
Declaration
public CurveNode(PointF[] pts)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | pts | The points collection. |
CurveNode(SerializationInfo, StreamingContext)
Initializes a new instance of the CurveNode class.
Declaration
protected CurveNode(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
Methods
CanDrawControlPoints()
Determines whether this instance can draw control points.
Declaration
public override bool CanDrawControlPoints()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
CanEditControlPoint()
Determines whether this node can edit control points.
Declaration
public override bool CanEditControlPoint()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
CanEditSegment()
Determines whether this node can edit segments.
Declaration
public override bool CanEditSegment()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
CanEditVertexPoint()
Determines whether this node can edit vertex points.
Declaration
public override bool CanEditVertexPoint()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
Clone()
Clones this instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | The cloned object. |
Overrides
CreateLogicalGraphicsPath(PointF[])
Creates node's path with given array of points.
Declaration
protected override GraphicsPath CreateLogicalGraphicsPath(PointF[] pts)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | pts | Points to create path from. |
Returns
Type | Description |
---|---|
System.Drawing.Drawing2D.GraphicsPath | Created GraphicsPath, otherwise null. |
Overrides
GetNewPathBounds(PointF[])
Gets the new path points bounds.
Declaration
protected override RectangleF GetNewPathBounds(PointF[] pathPoints)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | pathPoints | The path points. |
Returns
Type | Description |
---|---|
System.Drawing.RectangleF | The System.Drawing.RectangleF. |
Overrides
GetPathPoints()
Retrieves array of points needed to construct node's GraphicsPath.
Declaration
protected override PointF[] GetPathPoints()
Returns
Type | Description |
---|---|
System.Drawing.PointF[] | The path points |
Overrides
GetPoints()
Returns an array containing all vertices belonging to this shape.
Declaration
public override PointF[] GetPoints()
Returns
Type | Description |
---|---|
System.Drawing.PointF[] | Array of points in local coordinates. |
Overrides
ShowResizeHandles()
Indicate that selection and resize handles will draw on diagram canvas.
Declaration
public override bool ShowResizeHandles()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
UpdateGraphicsPath(PointF[])
Updates the graphics path.
Declaration
protected override void UpdateGraphicsPath(PointF[] pts)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | pts | The array of points. |