WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SplineNode - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SplineNode

    This node is used to draw spline-like appearance.

    Inheritance
    System.Object
    Node
    PathNode
    LineBase
    Line
    SplineNode
    Arc
    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
    Line.m_endPointHead
    Line.m_endPointTail
    Line.m_lineSegments
    Line.DoMoveRelatedActions(Single, Single)
    Line.ChangeFlipX(Boolean)
    Line.ChangeFlipY(Boolean)
    Line.ChangeRotationBy(Single)
    Line.DoSizeRelatedActions(SizeF, SizeF)
    Line.DoPinOffsetRelatedActions(SizeF, SizeF)
    Line.DoHandleMoveRelated(IHandle, SizeF)
    Line.OnNodeScaleChanged(String)
    Line.ContainsHandle(IHandle)
    Line.GetLineSegmentAt(Int32)
    Line.CheckNewPinPoint(PointF, MeasureUnits)
    Line.UpdateReferences(IServiceReferenceProvider)
    Line.GetObjectData(SerializationInfo, StreamingContext)
    Line.GetPropertyContainer(String)
    Line.MergeControlPoints()
    Line.MergeControlPoints(PointF[])
    Line.SetEndPoints(PointF[])
    Line.UpdateSegments()
    Line.UpdateSegments(PointF[])
    Line.IsConnected()
    Line.IsHeadConnected()
    Line.IsTailConnected()
    Line.IsNodeLeaving(IGraphNode)
    Line.IsNodeEntering(IGraphNode)
    Line.Dispose()
    Line.ConnectorState
    Line.LineSegments
    Line.FlipX
    Line.FlipY
    Line.RotationAngle
    Line.HeadEndPoint
    Line.TailEndPoint
    Line.FromNode
    Line.ToNode
    Line.EdgeWeight
    LineBase.ShowResizeHandles()
    LineBase.Render(Graphics)
    LineBase.DrawPath(Graphics)
    LineBase.DrawDecorators(Graphics)
    LineBase.UpdateHelperRegion()
    LineBase.AccumulateRefreshRect(RectangleF)
    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.OnDeserialized()
    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.FinishSetPoints()
    PathNode.MoveSegment(Int32, SizeF)
    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.InsertPoint(Int32, PointF)
    PathNode.RemovePoint(Int32)
    PathNode.GetLineSegmentAtPoint(PointF)
    PathNode.GetLineSegmentPoints(Int32)
    PathNode.MoveLineSegment(Int32, SizeF)
    PathNode.BeforeMoveSegment(PointF[])
    PathNode.ValidateOffset(Int32, SizeF)
    PathNode.UpdateControlPoints(PointF[], Int32)
    PathNode.SetControlPoints(PointF[], Int32)
    PathNode.UpdateNonLineBoundsInfo(RectangleF)
    PathNode.GetNewBounds(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.OnParentChanging()
    Node.OnParentChanged()
    Node.LogicalUnitChange(GraphicsUnit)
    Node.CanWiden(GraphicsPath)
    Node.OnMouseClick(EventArgs)
    Node.OnMouseDoubleClick(EventArgs)
    Node.SetPinPoint(PointF, MeasureUnits)
    Node.EventSink_PropertyChanging(PropertyChangingEventArgs)
    Node.EventSink_PropertyChanged(PropertyChangedEventArgs)
    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 SplineNode : Line, IUnitIndependent, IDispatchNodeEvents, ISerializable, INode, ICloneable, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, IServiceProvider, IGraphNode, IDeserializationCallback, IDisposable, IEndPointContainer, IGraphEdge

    Constructors

    SplineNode(SplineNode)

    Initializes a new instance of the SplineNode class.

    Declaration
    public SplineNode(SplineNode src)
    Parameters
    Type Name Description
    SplineNode src

    The SRC.

    SplineNode(PointF, PointF, PointF)

    Initializes a new instance of the SplineNode class.

    Declaration
    public SplineNode(PointF ptStart, PointF ptEnd, PointF ptControl)
    Parameters
    Type Name Description
    System.Drawing.PointF ptStart

    The start point.

    System.Drawing.PointF ptEnd

    The end point.

    System.Drawing.PointF ptControl

    The control point.

    SplineNode(PointF[])

    Initializes a new instance of the SplineNode class.

    Declaration
    public SplineNode(PointF[] pts)
    Parameters
    Type Name Description
    System.Drawing.PointF[] pts

    The points.

    SplineNode(SerializationInfo, StreamingContext)

    Initializes a new instance of the SplineNode class.

    Declaration
    protected SplineNode(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 spline can draw control points.

    Declaration
    public override bool CanDrawControlPoints()
    Returns
    Type Description
    System.Boolean

    true if this spline can draw control points; otherwise, false.

    Overrides
    Line.CanDrawControlPoints()

    CanEditControlPoint()

    Determines whether this node can edit control points.

    Declaration
    public override bool CanEditControlPoint()
    Returns
    Type Description
    System.Boolean

    true if this node can edit control points; otherwise, false.

    Overrides
    Line.CanEditControlPoint()

    CanEditSegment()

    Determines whether this node can edit segment.

    Declaration
    public override bool CanEditSegment()
    Returns
    Type Description
    System.Boolean

    true if this node can edit segment; otherwise, false.

    Overrides
    Line.CanEditSegment()

    CanEditVertexPoint()

    Determines whether this node can edit vertex point.

    Declaration
    public override bool CanEditVertexPoint()
    Returns
    Type Description
    System.Boolean

    true if this node can edit vertex point; otherwise, false.

    Overrides
    Line.CanEditVertexPoint()

    CanMoveHandle(IHandle, PointF)

    Determines whether this node allow move it handle.

    Declaration
    public override bool CanMoveHandle(IHandle handle, PointF ptNewLocation)
    Parameters
    Type Name Description
    IHandle handle

    The handle to move.

    System.Drawing.PointF ptNewLocation

    The new endpoint location to check.

    Returns
    Type Description
    System.Boolean

    true if this node allow move it handle; otherwise, false.

    Overrides
    Line.CanMoveHandle(IHandle, PointF)

    Clone()

    Clones this instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    System.Object

    The cloned object.

    Overrides
    Line.Clone()

    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
    Line.CreateLogicalGraphicsPath(PointF[])

    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
    PathNode.GetNewPathBounds(PointF[])

    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
    Line.GetPathPoints()

    UpdateBoundsInfo(RectangleF)

    Override base class's(Line) method

    Declaration
    protected override void UpdateBoundsInfo(RectangleF rcBounds)
    Parameters
    Type Name Description
    System.Drawing.RectangleF rcBounds

    Updated bounds info.

    Overrides
    Line.UpdateBoundsInfo(RectangleF)

    UpdateGraphicsPath(PointF[])

    Updates the graphics path form points.

    Declaration
    protected override void UpdateGraphicsPath(PointF[] pts)
    Parameters
    Type Name Description
    System.Drawing.PointF[] pts

    The points.

    Overrides
    Line.UpdateGraphicsPath(PointF[])

    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 - 2021 Syncfusion Inc. All Rights Reserved