[]
        
(Showing Draft Content)

GrapeCity.Documents.Drawing.IPath

IPath Interface

Represents a complex shape that may be composed of arcs, curves, and lines.

Namespace: GrapeCity.Documents.Drawing
Assembly: DS.Documents.Imaging.dll
Syntax
public interface IPath : IDisposable
Public Interface IPath
    Inherits IDisposable

Properties

Name Description
FigureHasSegments

Gets a value indicating if the active figure contains one or more segments.

FigureStarted

Gets a value indicating if there is an active figure to update.

IsClosed

Gets a value indicating if the path is closed for subsequent modifications.

Methods

Name Description
AddArc(ArcSegment)

Adds a single arc to the path geometry.

AddBezier(PointF, PointF, PointF)

Creates a cubic Bezier curve between the current point and the specified end point.

AddLine(PointF)

Creates a line segment between the current point and the specified end point and adds it to the geometry sink.

AddQuadraticBezier(PointF, PointF)

Creates a quadratic Bezier curve between the current point and the specified end point.

BeginFigure(PointF)

Starts a new figure at the specified point.

CancelFigure()

Discards the active figure.

Close()

Closes the path for modifications. The path cannot be modified after it is closed.

EndFigure(FigureEnd)

Ends the current figure; optionally, closes it.

GetBounds()

Returns a rectangle that bounds this IPath.

GetBounds(Matrix3x2)

Returns a rectangle that bounds this IPath when this path is transformed by the specified Matrix3x2.

SetFillMode(FillMode)

Specifies the method used to determine which points are inside the geometry described by this IPath and which points are outside.

Extension Methods