Class LineConnector
Class containing Line Connector.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class LineConnector : ConnectorBase, IUnitIndependent, IDispatchNodeEvents, ISerializable, INode, ICloneable, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, IServiceProvider, IGraphNode, IDeserializationCallback, IDisposable, IEndPointContainer, IGraphEdge
Constructors
LineConnector(LineConnector)
Initializes a new instance of the LineConnector class.
Declaration
public LineConnector(LineConnector src)
Parameters
Type | Name | Description |
---|---|---|
LineConnector | src | The SRC. |
LineConnector(PointF, PointF)
Initializes a new instance of the LineConnector class.
Declaration
public LineConnector(PointF ptStart, PointF ptEnd)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | ptStart | The start point. |
System.Drawing.PointF | ptEnd | The end point. |
LineConnector(PointF, PointF, MeasureUnits)
Initializes a new instance of the LineConnector class.
Declaration
public LineConnector(PointF ptStart, PointF ptEnd, MeasureUnits measureUnits)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | ptStart | The start point. |
System.Drawing.PointF | ptEnd | The end point. |
MeasureUnits | measureUnits | Specifies points measure units. |
LineConnector(PointF[])
Initializes a new instance of the LineConnector class.
Declaration
public LineConnector(PointF[] pts)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | pts | The PTS. |
LineConnector(SerializationInfo, StreamingContext)
Initializes a new instance of the LineConnector class.
Declaration
protected LineConnector(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The info. |
System.Runtime.Serialization.StreamingContext | context | The context. |
Methods
Clone()
Clones this instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | The cloned object. |
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
DoHandleMoveRelated(IHandle, SizeF)
Perfoms additional changes on handle move.
Declaration
protected override void DoHandleMoveRelated(IHandle handleMoved, SizeF szOffset)
Parameters
Type | Name | Description |
---|---|---|
IHandle | handleMoved | The moved handle . |
System.Drawing.SizeF | szOffset | The move offset. |
Overrides
MergeControlPoints()
Merges the control points placed in line.
Declaration
protected override void MergeControlPoints()
Overrides
Remarks
Used with handle moving.
MergeControlPoints(ref PointF[])
Merges the control points placed in line.
Declaration
protected override void MergeControlPoints(ref PointF[] ptsNew)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF[] | ptsNew | New points. |
Overrides
Remarks
Used with line segment move.
MoveEndPoints(SizeF)
Moves the end points to given offset.
Declaration
protected override void MoveEndPoints(SizeF szOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.SizeF | szOffset | The move offset. |
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. |