[]
        
(Showing Draft Content)

C1.Util.XLPath

XLPath Class

The path that suppored IRendering interface.

Inheritance
XLPath
Implements
IPath
Namespace: C1.Util
Assembly: C1.Excel.dll
Syntax
public class XLPath : IPath, IDisposable

Constructors

Name Description
XLPath()

Properties

Name Description
EndPoint

Gets a end point of this path.

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.

FillMode

Gets GrapeCity.Documents.Drawing.FillMode method used to determine whether a given point is part of the geometry.

IsClosed

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

StartPoint

Gets a start point of this path.

Methods

Name Description
AddArc(ArcSegment)

Adds a single arc to the path geometry.

AddArc(RectangleF, float, float, bool)

Adds arc for this path.

AddBezier(PointF, PointF, PointF)

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

AddEllipse(RectangleF)

Adds the ellipse figure for this path.

AddLine(PointF)

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

AddPie(RectangleF, float, float)

Adds pie figure for this path.

AddPolygon(PointF[])

Adds the polygon figure for this path.

AddQuadraticBezier(PointF, PointF)

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

AddRect(RectangleF)

Adds the rectangle figure for this path.

AddRoundRect(RectangleF, SizeF)

Adds the round rectangle figure for this path.

AddRoundRect(RectangleF, float, float, float, float)

Adds the round rectangle figure for this path.

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.

Dispose()
Draw(IRendering)

Draws ans fills a path defined by points and types.

Draw(GcGraphics, Pen)

Draws a path defined by points and types.

EndFigure(FigureEnd)

Ends the current figure; optionally, closes it.

EndFigure(bool)

Ends the current figure; optionally, closes it.

Fill(GcGraphics, Color)

Fills a path defined by points and types.

GetBounds()

Returns a rectangle that bounds this path.

GetBounds(Matrix3x2)

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

PopClip(IRendering)

Restore clipping.

PushClip(IRendering)

Apply this path for clipping.

SetFillMode(FillMode)

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