WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LineConnector

    Show / Hide Table of Contents

    Class LineConnector

    Class containing Line Connector.

    Inheritance
    System.Object
    Node
    PathNode
    LineBase
    ConnectorBase
    LineConnector
    Link
    PolyLineConnector
    Implements
    IUnitIndependent
    IDispatchNodeEvents
    System.Runtime.Serialization.ISerializable
    INode
    System.ICloneable
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.IServiceProvider
    IGraphNode
    System.Runtime.Serialization.IDeserializationCallback
    System.IDisposable
    IEndPointContainer
    IGraphEdge
    Inherited Members
    ConnectorBase.m_lineSegments
    ConnectorBase.m_bLineBridgingEnabled
    ConnectorBase.m_fLineBridgeSize
    ConnectorBase.m_bLockHandleMove
    ConnectorBase.IntersectSegmentWith(Int32, NodeCollection)
    ConnectorBase.LengthenLine(PointF, PointF, Single)
    ConnectorBase.EventSink_PropertyChanged(PropertyChangedEventArgs)
    ConnectorBase.IsLineBridgingEnabled()
    ConnectorBase.DrawSegment(Graphics, ConnectorLineSegment)
    ConnectorBase.GetHandleAt(Int32)
    ConnectorBase.MergeNearBridges(Int32, Bridge, ConnectorLineSegment, Single, Single)
    ConnectorBase.GetLineBridgeSize()
    ConnectorBase.CheckLineSegmentIntersect(PointF, PointF, PointF, PointF, PointF)
    ConnectorBase.GetAllConnectors(ICompositeNode)
    ConnectorBase.GetAllPorts(ICompositeNode)
    ConnectorBase.SetEndPoints(PointF[])
    ConnectorBase.UpdateSegments()
    ConnectorBase.IsConnected()
    ConnectorBase.IsHeadConnected()
    ConnectorBase.IsTailConnected()
    ConnectorBase.SyncEndPointsWithPort()
    ConnectorBase.CanEditControlPoint()
    ConnectorBase.CanDrawControlPoints()
    ConnectorBase.CanEditSegment()
    ConnectorBase.CanEditVertexPoint()
    ConnectorBase.ContainsHandle(IHandle)
    ConnectorBase.CanMoveHandle(IHandle, PointF)
    ConnectorBase.GetLineSegmentAt(Int32)
    ConnectorBase.InsertPoint(Int32, PointF)
    ConnectorBase.MoveSegment(Int32, SizeF)
    ConnectorBase.OnNodeScaleChanged(String)
    ConnectorBase.DoMoveRelatedActions(Single, Single)
    ConnectorBase.DoSizeRelatedActions(SizeF, SizeF)
    ConnectorBase.ChangeFlipX(Boolean)
    ConnectorBase.ChangeFlipY(Boolean)
    ConnectorBase.ChangeRotationBy(Single)
    ConnectorBase.DoPinOffsetRelatedActions(SizeF, SizeF)
    ConnectorBase.FinishSetPoints()
    ConnectorBase.DrawPath(Graphics)
    ConnectorBase.GetPathPoints()
    ConnectorBase.OnParentChanging()
    ConnectorBase.OnParentChanged()
    ConnectorBase.GetObjectData(SerializationInfo, StreamingContext)
    ConnectorBase.UpdateReferences(IServiceReferenceProvider)
    ConnectorBase.GetPropertyContainer(String)
    ConnectorBase.BeforeMoveSegment(PointF[])
    ConnectorBase.AccumulateRefreshRect(RectangleF)
    ConnectorBase.CheckNewPinPoint(PointF, MeasureUnits)
    ConnectorBase.UpdateGraphicsPath(PointF[])
    ConnectorBase.CreateLogicalGraphicsPath(PointF[])
    ConnectorBase.SetControlPoints(PointF[], Int32)
    ConnectorBase.OnDeserialized()
    ConnectorBase.IsNodeLeaving(IGraphNode)
    ConnectorBase.IsNodeEntering(IGraphNode)
    ConnectorBase.HeadingDistance
    ConnectorBase.BridgeStyle
    ConnectorBase.LineRoutingEnabled
    ConnectorBase.HeadingHead
    ConnectorBase.HeadingTail
    ConnectorBase.LineSegments
    ConnectorBase.FlipX
    ConnectorBase.FlipY
    ConnectorBase.RotationAngle
    ConnectorBase.LineBridgingEnabled
    ConnectorBase.ConnectorState
    ConnectorBase.EnableRoundedCorner
    ConnectorBase.HeadEndPoint
    ConnectorBase.TailEndPoint
    ConnectorBase.FromNode
    ConnectorBase.ToNode
    ConnectorBase.EdgeWeight
    LineBase.ShowResizeHandles()
    LineBase.Render(Graphics)
    LineBase.DrawDecorators(Graphics)
    LineBase.UpdateHelperRegion()
    LineBase.DrawDecoratorsShadow(Graphics)
    LineBase.GetDecoratorTransfrom(PointF, PointF, Single)
    LineBase.GetTailDecoratorTransformations()
    LineBase.GetHeadDecoratorTransformations()
    LineBase.InitBoundsInfo(RectangleF)
    LineBase.SynchronizeEndPoint(EndPoint, SizeF)
    LineBase.HeadDecorator
    LineBase.TailDecorator
    PathNode.m_bCanChangePath
    PathNode.m_bIsVertexEditable
    PathNode.m_maxPoints
    PathNode.m_minPoints
    PathNode.m_gpPath
    PathNode.RenderContiguousData(Graphics)
    PathNode.OnMouseEnter(EventArgs)
    PathNode.OnMouseLeave(EventArgs)
    PathNode.IsControlPointValid(ControlPoint)
    PathNode.HandleMove(IHandle, SizeF)
    PathNode.TransformControlPoints(Matrix)
    PathNode.UpdateSegmentsRegion()
    PathNode.UpdatePathNodeData()
    PathNode.GetPathPoints(Matrix)
    PathNode.CreateGraphicsPath(PointF[])
    PathNode.PreparePathPointsForInsert(Int32, PointF)
    PathNode.GetAdjacentPathPoint(PointF, Boolean, Boolean, PointF)
    PathNode.CanMoveHandle(IHandle)
    PathNode.GetControlPoints()
    PathNode.DrawControlPoints(Graphics)
    PathNode.DrawControlPoint(Graphics, ControlPoint, SizeF, Pen, Brush)
    PathNode.GetControlPointAt(PointF)
    PathNode.GetControlPointAt(Int32)
    PathNode.GetControlPointByID(Int32)
    PathNode.TryCombine(GraphicsPath, Boolean)
    PathNode.CanCombine(GraphicsPath)
    PathNode.GetPoints(Boolean)
    PathNode.GetPoints()
    PathNode.SetPoints(PointF[], Boolean)
    PathNode.SetPoints(PointF[])
    PathNode.GetPoint(Int32)
    PathNode.GetPoint(Int32, Boolean)
    PathNode.SetPoint(Int32, PointF, Boolean)
    PathNode.SetPoint(Int32, PointF)
    PathNode.AddPoint(PointF, Boolean)
    PathNode.AddPoint(PointF)
    PathNode.InsertPoint(Int32, PointF, Boolean)
    PathNode.RemovePoint(Int32)
    PathNode.GetLineSegmentAtPoint(PointF)
    PathNode.GetLineSegmentPoints(Int32)
    PathNode.MoveLineSegment(Int32, SizeF)
    PathNode.ValidateOffset(Int32, SizeF)
    PathNode.UpdateControlPoints(PointF[], Int32)
    PathNode.UpdateNonLineBoundsInfo(RectangleF)
    PathNode.GetNewBounds(PointF[])
    PathNode.GetNewPathBounds(PointF[])
    PathNode.UpdatePathLocation(GraphicsPath, RectangleF)
    PathNode.IsPathVertexEditable(GraphicsPath)
    PathNode.RecordVertexChanged(VertexChangeType, Int32, PointF)
    PathNode.OnVertexChanging(VertexChangeType, Int32, PointF)
    PathNode.OnVertexChanged(VertexChangeType, Int32, PointF)
    PathNode.CanChangePoints(PointF[])
    PathNode.Labels
    PathNode.LogicalGraphicsPath
    PathNode.PointCount
    PathNode.LineSegmentCount
    PathNode.MinPoints
    PathNode.MaxPoints
    PathNode.CanChangePath
    PathNode.IsVertexEditable
    PathNode.PathPoints
    PathNode.PathPointsRelative
    PathNode.ControlPoints
    Node.m_rgnCache
    Node.m_fRotationAngle
    Node.m_mgrHistory
    Node.m_eventSink
    Node.m_mgrLink
    Node.m_mgrBridge
    Node.m_bLockUpdate
    Node.m_rectRefresh
    Node.m_bPortUpdating
    Node.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    Node.UpdateServiceReferences(IServiceReferenceProvider)
    Node.ProvideServiceReference(RuntimeTypeHandle)
    Node.GetPropertyContainerByName(String)
    Node.OnPropertyChanging(String, String, Object)
    Node.OnPropertyChanged(String, String)
    Node.Draw(Graphics)
    Node.Draw(Graphics, Boolean)
    Node.PrepareGraphics(Graphics)
    Node.ContainsPoint(PointF)
    Node.Translate(Single, Single, MeasureUnits)
    Node.Translate(Single, Single)
    Node.Rotate(Single)
    Node.Scale(Single, Single)
    Node.AppendFlipTransforms(Matrix)
    Node.AppendLocalFlipTransforms(Matrix)
    Node.GetTransformations()
    Node.GetLocalTransformations()
    Node.GetParentTransformation(Boolean)
    Node.AppendFlipTransforms(Matrix, PointF, Boolean, Boolean)
    Node.GetTransformations(PointF, SizeF, Single)
    Node.OnMeasurementUnitsChanging(MeasureUnits)
    Node.QuiteBoundarySet(Boolean)
    Node.SafeHistoryPause()
    Node.SafeHistoryResume()
    Node.UpdateBoundingRectangle()
    Node.GetNodeBounds(Boolean, Boolean)
    Node.GetRectBounds(Boolean, Boolean)
    Node.GetPathBounds()
    Node.UpdateRefreshRect()
    Node.UpdateRefreshRect(RectangleF, Matrix)
    Node.GetScaleTransformation()
    Node.ConvertToNodeCoordinates(PointF)
    Node.ConvertToModelCoordinates(PointF)
    Node.Move(Single, Single)
    Node.SetPinOffset(SizeF, SizeF)
    Node.SetSize(SizeF, SizeF)
    Node.LogicalUnitChange(GraphicsUnit)
    Node.CanWiden(GraphicsPath)
    Node.OnMouseClick(EventArgs)
    Node.OnMouseDoubleClick(EventArgs)
    Node.SetPinPoint(PointF, MeasureUnits)
    Node.EventSink_PropertyChanging(PropertyChangingEventArgs)
    Node.CreateBoundsInfo()
    Node.CreateBoundsInfo(PointF, SizeF, SizeF)
    Node.CreateBoundsInfo(BoundsInfo)
    Node.CreateBoundsInfo(BoundsInfo, PageScale)
    Node.UpdatePortPositions(SizeF, SizeF)
    Node.UpdateContainerBounds()
    Node.CanUpdateConnections(EndPoint)
    Node.IsClosedPath(GraphicsPath)
    Node.GetBoundsRect(Node)
    Node.UpdateGraphicsPath(SizeF, SizeF)
    Node.GetUpperLeftPoint(MeasureUnits)
    Node.RecordPropertyChanged(String)
    Node.CheckConstrainingRegion(PointF)
    Node.CheckConstrainingRegion(RectangleF)
    Node.GetService(Type)
    Node.IUnitIndependent.GetPinPoint(MeasureUnits)
    Node.IUnitIndependent.GetSize(MeasureUnits)
    Node.IUnitIndependent.GetPinPointOffset(MeasureUnits)
    Node.IUnitIndependent.GetBoundingRectangle(MeasureUnits, Boolean)
    Node.IUnitIndependent.SetPinPoint(PointF, MeasureUnits)
    Node.IUnitIndependent.SetSize(SizeF, MeasureUnits)
    Node.IUnitIndependent.SetPinPointOffset(SizeF, MeasureUnits)
    Node.IDispatchNodeEvents.Click(EventArgs)
    Node.IDispatchNodeEvents.DoubleClick(EventArgs)
    Node.IDispatchNodeEvents.MouseEnter(EventArgs)
    Node.IDispatchNodeEvents.MouseLeave(EventArgs)
    Node.IDeserializationCallback.OnDeserialization(Object)
    Node.AllowLabelDrag
    Node.TreatAsObstacle
    Node.PrintPorts
    Node.DrawPorts
    Node.Ports
    Node.ZOrder
    Node.EnableCentralPort
    Node.CentralPort
    Node.Tag
    Node.ExcludeFromLayout
    Node.IsExpanded
    Node.Name
    Node.FullName
    Node.Container
    Node.Parent
    Node.Root
    Node.Visible
    Node.Layers
    Node.LineHitTestPadding
    Node.MeasurementUnit
    Node.InheritContainerMeasureUnits
    Node.GraphicsPath
    Node.HistoryManager
    Node.EventSink
    Node.PropertyBag
    Node.ToolTipText
    Node.RefreshRect
    Node.BoundingRect
    Node.BoundsInfo
    Node.BoundingRectangle
    Node.Size
    Node.PinPointOffset
    Node.PinPoint
    Node.NodeScale
    Node.ShadowStyle
    Node.LineStyle
    Node.EditStyle
    Node.FullContainerName
    Node.INode.Root
    Node.Edges
    Node.EdgesEntering
    Node.EdgesLeaving
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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
    Node.Clone()

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    ConnectorBase.Dispose()

    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
    ConnectorBase.DoHandleMoveRelated(IHandle, SizeF)

    MergeControlPoints()

    Merges the control points placed in line.

    Declaration
    protected override void MergeControlPoints()
    Overrides
    ConnectorBase.MergeControlPoints()
    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
    ConnectorBase.MergeControlPoints(ref PointF[])
    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
    ConnectorBase.MoveEndPoints(SizeF)

    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.

    Overrides
    PathNode.UpdateBoundsInfo(RectangleF)

    Implements

    IUnitIndependent
    IDispatchNodeEvents
    System.Runtime.Serialization.ISerializable
    INode
    System.ICloneable
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.IServiceProvider
    IGraphNode
    System.Runtime.Serialization.IDeserializationCallback
    System.IDisposable
    IEndPointContainer
    IGraphEdge
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved