Class PolyLineConnector
Connector that draws as a poly line.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class PolyLineConnector : LineConnector, IUnitIndependent, IDispatchNodeEvents, ISerializable, INode, ICloneable, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, IServiceProvider, IGraphNode, IDeserializationCallback, IDisposable, IEndPointContainer, IGraphEdge
Constructors
PolyLineConnector(PolyLineConnector)
Initializes a new instance of the PolyLineConnector class.
Declaration
public PolyLineConnector(PolyLineConnector src)
Parameters
Type | Name | Description |
---|---|---|
PolyLineConnector | src | The SRC. |
PolyLineConnector(PointF, PointF)
Initializes a new instance of the PolyLineConnector class.
Declaration
public PolyLineConnector(PointF ptStart, PointF ptEnd)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | ptStart | The start point. |
System.Drawing.PointF | ptEnd | The end point. |
PolyLineConnector(PointF, PointF, MeasureUnits)
Initializes a new instance of the PolyLineConnector class.
Declaration
public PolyLineConnector(PointF ptStart, PointF ptEnd, MeasureUnits measureUnits)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | ptStart | The pt start. |
System.Drawing.PointF | ptEnd | The pt end. |
MeasureUnits | measureUnits | The measure units. |
PolyLineConnector(PointF[])
Initializes a new instance of the PolyLineConnector class.
Declaration
public PolyLineConnector(PointF[] pts)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | pts | The points collection. |
PolyLineConnector(SerializationInfo, StreamingContext)
Initializes a new instance of the PolyLineConnector class.
Declaration
protected PolyLineConnector(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
Properties
CurveRadius
Gets or sets the radius of the curve.
Declaration
public float CurveRadius { get; set; }
Property Value
Type |
---|
System.Single |
MoveConnectedSegments
Gets or sets a value indicating whether connected segments are movable.
Declaration
public bool MoveConnectedSegments { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
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
GetObjectData(SerializationInfo, StreamingContext)
Gets the object data.
Declaration
protected override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The serialization info. |
System.Runtime.Serialization.StreamingContext | context | The streaming context. |
Overrides
ShowResizeHandles()
Indicate that selection and resize handles will draw on diagram canvas.
Declaration
public override bool ShowResizeHandles()
Returns
Type | Description |
---|---|
System.Boolean |
|
Overrides
UpdateBoundsInfo(RectangleF)
Updates the Pin position, pin offset and size from new bounds rectangle.
Declaration
protected override void UpdateBoundsInfo(RectangleF rcBounds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | rcBounds | The bounds rectangle. |