WinForms

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

    Show / Hide Table of Contents

    Class FilledPath

    Base shape class to visualize closed path and fill it using the FillStyle property.

    Inheritance
    System.Object
    Node
    PathNode
    FilledPath
    CircularArc
    ClosedCurveNode
    Ellipse
    FilledShape
    Polygon
    Rectangle
    RoundRect
    SemiCircle
    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
    PathNode.m_bCanChangePath
    PathNode.m_bIsVertexEditable
    PathNode.m_maxPoints
    PathNode.m_minPoints
    PathNode.m_gpPath
    PathNode.DoSizeRelatedActions(SizeF, SizeF)
    PathNode.OnDeserialized()
    PathNode.RenderContiguousData(Graphics)
    PathNode.OnMouseEnter(EventArgs)
    PathNode.OnMouseLeave(EventArgs)
    PathNode.AccumulateRefreshRect(RectangleF)
    PathNode.OnNodeScaleChanged(String)
    PathNode.IsControlPointValid(ControlPoint)
    PathNode.DoHandleMoveRelated(IHandle, SizeF)
    PathNode.HandleMove(IHandle, SizeF)
    PathNode.TransformControlPoints(Matrix)
    PathNode.UpdateSegmentsRegion()
    PathNode.UpdatePathNodeData()
    PathNode.GetPathPoints()
    PathNode.GetPathPoints(Matrix)
    PathNode.UpdateGraphicsPath(PointF[])
    PathNode.CreateLogicalGraphicsPath(PointF[])
    PathNode.CreateGraphicsPath(PointF[])
    PathNode.UpdateBoundsInfo(RectangleF)
    PathNode.PreparePathPointsForInsert(Int32, PointF)
    PathNode.GetAdjacentPathPoint(PointF, Boolean, Boolean, PointF)
    PathNode.CanEditSegment()
    PathNode.CanEditControlPoint()
    PathNode.CanEditVertexPoint()
    PathNode.CanMoveHandle(IHandle)
    PathNode.CanMoveHandle(IHandle, PointF)
    PathNode.ContainsHandle(IHandle)
    PathNode.GetControlPoints()
    PathNode.CanDrawControlPoints()
    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.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.ShowResizeHandles()
    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.DoPinOffsetRelatedActions(SizeF, SizeF)
    Node.DoMoveRelatedActions(Single, Single)
    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.ChangeFlipX(Boolean)
    Node.ChangeFlipY(Boolean)
    Node.ChangeRotationBy(Single)
    Node.SetPinOffset(SizeF, SizeF)
    Node.SetSize(SizeF, SizeF)
    Node.OnParentChanging()
    Node.OnParentChanged()
    Node.LogicalUnitChange(GraphicsUnit)
    Node.UpdateHelperRegion()
    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.CheckNewPinPoint(PointF, MeasureUnits)
    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.RotationAngle
    Node.FlipX
    Node.FlipY
    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 FilledPath : PathNode, IUnitIndependent, IDispatchNodeEvents, ISerializable, INode, ICloneable, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, IServiceProvider, IGraphNode, IDeserializationCallback, IDisposable

    Constructors

    FilledPath()

    Initializes a new instance of the FilledPath class.

    Declaration
    public FilledPath()

    FilledPath(FilledPath)

    Initializes a new instance of the FilledPath class.

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

    The source instance.

    FilledPath(GraphicsPath)

    Initializes a new instance of the FilledPath class.

    Declaration
    public FilledPath(GraphicsPath path)
    Parameters
    Type Name Description
    System.Drawing.Drawing2D.GraphicsPath path

    The graphics path.

    FilledPath(SerializationInfo, StreamingContext)

    Initializes a new instance of the FilledPath class.

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

    The serialization info.

    System.Runtime.Serialization.StreamingContext context

    The serialization context.

    Fields

    m_benableshading

    Flag to enable shading.

    Declaration
    protected bool m_benableshading
    Field Value
    Type Description
    System.Boolean

    Properties

    EnableShading

    Gets or sets a value indicating whether shading should be enabled.

    Declaration
    public bool EnableShading { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if enable shading; otherwise, false.

    FillStyle

    Gets the properties used to fill the interior of regions.

    Declaration
    public FillStyle FillStyle { get; }
    Property Value
    Type Description
    FillStyle

    The fill style.

    Remarks

    The fill style is used to create brushes for painting interior regions of the shape.

    FillStyle

    Methods

    Clone()

    Creates a new object that is a copy of the current instance.

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

    A new object that is a copy of this instance.

    Overrides
    Node.Clone()

    Dispose()

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

    DrawBorder(Graphics)

    Draws shape's border on given graphics.

    Declaration
    protected virtual void DrawBorder(Graphics gfx)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx

    Graphics to draw on

    DrawInterior(Graphics)

    Draws shape's interior on given graphics.

    Declaration
    protected virtual void DrawInterior(Graphics gfx)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx

    Graphics to draw on

    DrawShading(Graphics)

    Draw the shading over node.

    Declaration
    protected virtual void DrawShading(Graphics gfx)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx

    The Graphics to draw on.

    GetObjectData(SerializationInfo, StreamingContext)

    Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

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

    The System.Runtime.Serialization.SerializationInfo to populate with data.

    System.Runtime.Serialization.StreamingContext context

    The destination (see System.Runtime.Serialization.StreamingContext) for this serialization.

    Overrides
    PathNode.GetObjectData(SerializationInfo, StreamingContext)
    Exceptions
    Type Condition
    System.Security.SecurityException

    The caller does not have the required permission.

    GetPropertyContainer(String)

    Gets the property container.

    Declaration
    protected override object GetPropertyContainer(string strPropertyContainerName)
    Parameters
    Type Name Description
    System.String strPropertyContainerName

    Name of the property container.

    Returns
    Type Description
    System.Object

    The property container object.

    Overrides
    Node.GetPropertyContainer(String)

    Render(Graphics)

    Renders shapes visual representation on given graphics.

    Declaration
    protected override void Render(Graphics gfx)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx

    Graphics to draw on

    Overrides
    Node.Render(Graphics)

    UpdateReferences(IServiceReferenceProvider)

    Updates the references from service provider.

    Declaration
    public override void UpdateReferences(IServiceReferenceProvider provider)
    Parameters
    Type Name Description
    IServiceReferenceProvider provider

    The service provider.

    Overrides
    PathNode.UpdateReferences(IServiceReferenceProvider)

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