Class ClosedCurveNode
Node that gets rendered as closed curve.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class ClosedCurveNode : FilledPath, IUnitIndependent, IDispatchNodeEvents, ISerializable, INode, ICloneable, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, IServiceProvider, IGraphNode, IDeserializationCallback, IDisposable
Constructors
ClosedCurveNode(ClosedCurveNode)
Initializes a new instance of the ClosedCurveNode class.
Declaration
public ClosedCurveNode(ClosedCurveNode src)
Parameters
Type | Name | Description |
---|---|---|
ClosedCurveNode | src | The closed curved node. |
ClosedCurveNode(PointF[])
Initializes a new instance of the ClosedCurveNode class.
Declaration
public ClosedCurveNode(PointF[] pts)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | pts | The points. |
ClosedCurveNode(SerializationInfo, StreamingContext)
Initializes a new instance of the ClosedCurveNode class.
Declaration
protected ClosedCurveNode(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The serialization info. |
System.Runtime.Serialization.StreamingContext | context | The streaming 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 instance can edit control point.
Declaration
public override bool CanEditControlPoint()
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
GetObjectData(SerializationInfo, StreamingContext)
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
Declaration
protected override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo to populate with data. |
System.Runtime.Serialization.StreamingContext | context | The destination (see System.Runtime.Serialization.StreamingContext) for this serialization. |
Overrides
Exceptions
Type | Condition |
---|---|
System.Security.SecurityException | The caller does not have the required permission. |
GetPathPoints()
Gets the control points.
Declaration
protected override PointF[] GetPathPoints()
Returns
Type | Description |
---|---|
System.Drawing.PointF[] | The control 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
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. |