menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CurveNode - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CurveNode

    Node that is rendered as a curve.

    Inheritance
    System.Object
    Node
    PathNode
    LineBase
    CurveNode
    Implements
    IUnitIndependent
    IDispatchNodeEvents
    System.Runtime.Serialization.ISerializable
    INode
    System.ICloneable
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.IServiceProvider
    IGraphNode
    System.Runtime.Serialization.IDeserializationCallback
    System.IDisposable
    Inherited Members
    LineBase.AccumulateRefreshRect(RectangleF)
    LineBase.Dispose()
    LineBase.DrawDecorators(Graphics)
    LineBase.DrawDecoratorsShadow(Graphics)
    LineBase.DrawPath(Graphics)
    LineBase.GetDecoratorTransfrom(PointF, PointF, Single)
    LineBase.GetHeadDecoratorTransformations()
    LineBase.GetLineSegmentAt(Int32)
    LineBase.GetObjectData(SerializationInfo, StreamingContext)
    LineBase.GetPropertyContainer(String)
    LineBase.GetTailDecoratorTransformations()
    LineBase.HeadDecorator
    LineBase.InitBoundsInfo(RectangleF)
    LineBase.Render(Graphics)
    LineBase.SynchronizeEndPoint(EndPoint, SizeF)
    LineBase.TailDecorator
    LineBase.UpdateHelperRegion()
    LineBase.UpdateReferences(IServiceReferenceProvider)
    Node.AllowLabelDrag
    Node.AppendFlipTransforms(Matrix)
    Node.AppendFlipTransforms(Matrix, PointF, Boolean, Boolean)
    Node.AppendLocalFlipTransforms(Matrix)
    Node.BoundingRectangle
    Node.BoundsInfo
    Node.CanUpdateConnections(EndPoint)
    Node.CanWiden(GraphicsPath)
    Node.CentralPort
    Node.ChangeFlipX(Boolean)
    Node.ChangeFlipY(Boolean)
    Node.ChangeRotationBy(Single)
    Node.CheckConstrainingRegion(PointF)
    Node.CheckConstrainingRegion(RectangleF)
    Node.CheckNewPinPoint(PointF, MeasureUnits)
    Node.Container
    Node.ContainsPoint(PointF)
    Node.ConvertToModelCoordinates(PointF)
    Node.ConvertToNodeCoordinates(PointF)
    Node.CreateBoundsInfo(BoundsInfo)
    Node.CreateBoundsInfo(BoundsInfo, PageScale)
    Node.CreateBoundsInfo(PointF, SizeF, SizeF)
    Node.DoMoveRelatedActions(Single, Single)
    Node.DoPinOffsetRelatedActions(SizeF, SizeF)
    Node.Draw(Graphics)
    Node.Draw(Graphics, Boolean)
    Node.DrawPorts
    Node.Edges
    Node.EdgesEntering
    Node.EdgesLeaving
    Node.EditStyle
    Node.EnableCentralPort
    Node.EventSink
    Node.EventSink_PropertyChanged(PropertyChangedEventArgs)
    Node.EventSink_PropertyChanging(PropertyChangingEventArgs)
    Node.ExcludeFromLayout
    Node.FlipX
    Node.FlipY
    Node.FullContainerName
    Node.FullName
    Node.GetBoundsRect(Node)
    Node.GetLocalTransformations()
    Node.GetNodeBounds(Boolean, Boolean)
    Node.GetParentTransformation(Boolean)
    Node.GetPathBounds()
    Node.GetPropertyContainerByName(String)
    Node.GetRectBounds(Boolean, Boolean)
    Node.GetScaleTransformation()
    Node.GetService(Type)
    Node.GetTransformations()
    Node.GetTransformations(PointF, SizeF, Single)
    Node.GetUpperLeftPoint(MeasureUnits)
    Node.GraphicsPath
    Node.HistoryManager
    Node.IDeserializationCallback.OnDeserialization(Object)
    Node.IDispatchNodeEvents.Click(EventArgs)
    Node.IDispatchNodeEvents.DoubleClick(EventArgs)
    Node.IDispatchNodeEvents.MouseEnter(EventArgs)
    Node.IDispatchNodeEvents.MouseLeave(EventArgs)
    Node.InheritContainerMeasureUnits
    Node.INode.Root
    Node.IsClosedPath(GraphicsPath)
    Node.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    Node.IsExpanded
    Node.IUnitIndependent.GetBoundingRectangle(MeasureUnits, Boolean)
    Node.IUnitIndependent.GetPinPoint(MeasureUnits)
    Node.IUnitIndependent.GetPinPointOffset(MeasureUnits)
    Node.IUnitIndependent.GetSize(MeasureUnits)
    Node.IUnitIndependent.SetPinPoint(PointF, MeasureUnits)
    Node.IUnitIndependent.SetPinPointOffset(SizeF, MeasureUnits)
    Node.IUnitIndependent.SetSize(SizeF, MeasureUnits)
    Node.Layers
    Node.LineHitTestPadding
    Node.LineStyle
    Node.LogicalUnitChange(GraphicsUnit)
    Node.m_bLockUpdate
    Node.m_bPortUpdating
    Node.m_eventSink
    Node.m_fRotationAngle
    Node.m_mgrBridge
    Node.m_mgrHistory
    Node.m_mgrLink
    Node.m_rgnCache
    Node.MeasurementUnit
    Node.Move(Single, Single)
    Node.Name
    Node.NodeScale
    Node.OnMeasurementUnitsChanging(MeasureUnits)
    Node.OnMouseClick(EventArgs)
    Node.OnMouseDoubleClick(EventArgs)
    Node.OnParentChanged()
    Node.OnParentChanging()
    Node.OnPropertyChanged(String, String)
    Node.OnPropertyChanging(String, String, Object)
    Node.Parent
    Node.PinPoint
    Node.PinPointOffset
    Node.Ports
    Node.PrepareGraphics(Graphics)
    Node.PrintPorts
    Node.PropertyBag
    Node.ProvideServiceReference(RuntimeTypeHandle)
    Node.QuiteBoundarySet(Boolean)
    Node.RecordPropertyChanged(String)
    Node.RefreshRect
    Node.Root
    Node.Rotate(Single)
    Node.RotationAngle
    Node.SafeHistoryPause()
    Node.SafeHistoryResume()
    Node.Scale(Single, Single)
    Node.SetPinOffset(SizeF, SizeF)
    Node.SetPinPoint(PointF, MeasureUnits)
    Node.SetSize(SizeF, SizeF)
    Node.ShadowStyle
    Node.Size
    Node.Tag
    Node.ToolTipText
    Node.Translate(Single, Single)
    Node.Translate(Single, Single, MeasureUnits)
    Node.TreatAsObstacle
    Node.UpdateBoundingRectangle()
    Node.UpdateContainerBounds()
    Node.UpdateGraphicsPath(SizeF, SizeF)
    Node.UpdatePortPositions(SizeF, SizeF)
    Node.UpdateRefreshRect()
    Node.UpdateRefreshRect(RectangleF, Matrix)
    Node.UpdateServiceReferences(IServiceReferenceProvider)
    Node.Visible
    Node.ZOrder
    PathNode.AddPoint(PointF)
    PathNode.AddPoint(PointF, Boolean)
    PathNode.BeforeMoveSegment(PointF[])
    PathNode.CanChangePath
    PathNode.CanChangePoints(PointF[])
    PathNode.CanCombine(GraphicsPath)
    PathNode.CanMoveHandle(IHandle)
    PathNode.CanMoveHandle(IHandle, PointF)
    PathNode.ContainsHandle(IHandle)
    PathNode.CreateGraphicsPath(PointF[])
    PathNode.DoHandleMoveRelated(IHandle, SizeF)
    PathNode.DoSizeRelatedActions(SizeF, SizeF)
    PathNode.DrawControlPoint(Graphics, ControlPoint, SizeF, Pen, Brush)
    PathNode.DrawControlPoints(Graphics)
    PathNode.FinishSetPoints()
    PathNode.GetAdjacentPathPoint(PointF, Boolean, Boolean, PointF)
    PathNode.GetControlPointAt(Int32)
    PathNode.GetControlPointAt(PointF)
    PathNode.GetControlPointByID(Int32)
    PathNode.GetControlPoints()
    PathNode.GetLineSegmentAtPoint(PointF)
    PathNode.GetLineSegmentPoints(Int32)
    PathNode.GetNewBounds(PointF[])
    PathNode.GetPathPoints(Matrix)
    PathNode.GetPoint(Int32)
    PathNode.GetPoint(Int32, Boolean)
    PathNode.GetPoints(Boolean)
    PathNode.HandleMove(IHandle, SizeF)
    PathNode.InsertPoint(Int32, PointF)
    PathNode.InsertPoint(Int32, PointF, Boolean)
    PathNode.IsControlPointValid(ControlPoint)
    PathNode.IsPathVertexEditable(GraphicsPath)
    PathNode.IsVertexEditable
    PathNode.Labels
    PathNode.LineSegmentCount
    PathNode.LogicalGraphicsPath
    PathNode.m_maxPoints
    PathNode.m_minPoints
    PathNode.MaxPoints
    PathNode.MinPoints
    PathNode.MoveLineSegment(Int32, SizeF)
    PathNode.MoveSegment(Int32, SizeF)
    PathNode.OnDeserialized()
    PathNode.OnMouseEnter(EventArgs)
    PathNode.OnMouseLeave(EventArgs)
    PathNode.OnNodeScaleChanged(String)
    PathNode.OnVertexChanged(VertexChangeType, Int32, PointF)
    PathNode.OnVertexChanging(VertexChangeType, Int32, PointF)
    PathNode.PathPointsRelative
    PathNode.PointCount
    PathNode.PreparePathPointsForInsert(Int32, PointF)
    PathNode.RecordVertexChanged(VertexChangeType, Int32, PointF)
    PathNode.RemovePoint(Int32)
    PathNode.RenderContiguousData(Graphics)
    PathNode.SetControlPoints(PointF[], Int32)
    PathNode.SetPoint(Int32, PointF)
    PathNode.SetPoint(Int32, PointF, Boolean)
    PathNode.SetPoints(PointF[])
    PathNode.SetPoints(PointF[], Boolean)
    PathNode.TransformControlPoints(Matrix)
    PathNode.TryCombine(GraphicsPath, Boolean)
    PathNode.UpdateBoundsInfo(RectangleF)
    PathNode.UpdateControlPoints(PointF[], Int32)
    PathNode.UpdateNonLineBoundsInfo(RectangleF)
    PathNode.UpdatePathLocation(GraphicsPath, RectangleF)
    PathNode.UpdatePathNodeData()
    PathNode.UpdateSegmentsRegion()
    PathNode.ValidateOffset(Int32, SizeF)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class CurveNode : LineBase, IUnitIndependent, IDispatchNodeEvents, ISerializable, INode, ICloneable, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, IServiceProvider, IGraphNode, IDeserializationCallback, IDisposable

    Constructors

    CurveNode(CurveNode)

    Initializes a new instance of the CurveNode class.

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

    The curve node source.

    CurveNode(PointF[])

    Initializes a new instance of the CurveNode class.

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

    The points collection.

    CurveNode(SerializationInfo, StreamingContext)

    Initializes a new instance of the CurveNode class.

    Declaration
    protected CurveNode(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The info.

    System.Runtime.Serialization.StreamingContext context

    The context.

    Methods

    CanDrawControlPoints()

    Determines whether this instance can draw control points.

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

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

    Overrides
    PathNode.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
    PathNode.CanEditControlPoint()

    CanEditSegment()

    Determines whether this node can edit segments.

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

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

    Overrides
    PathNode.CanEditSegment()

    CanEditVertexPoint()

    Determines whether this node can edit vertex points.

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

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

    Overrides
    PathNode.CanEditVertexPoint()

    Clone()

    Clones this instance.

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

    The cloned object.

    Overrides
    Node.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
    PathNode.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
    PathNode.GetPathPoints()

    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
    PathNode.GetPoints()

    ShowResizeHandles()

    Indicate that selection and resize handles will draw on diagram canvas.

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

    True if node can be resized, otherwise - false.

    Overrides
    LineBase.ShowResizeHandles()

    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.

    Overrides
    PathNode.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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved