[]
        
(Showing Draft Content)

C1.Util.XLPath

XLPath Class

The path that suppored C1.Util.IRendering interface.

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

Constructors

Name Description
XLPath(FillMode)

Creating a path object.

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 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.

IsEmply

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.

AddBeziers(PointF[])

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

AddClosedLines(params PointF[])

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

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.

AddLines(params PointF[])

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

AddPath(XLPath)

Adds the other path figure for this path.

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.

Clone()

Clone this XLPath object.

Close()

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

Dispose()
Draw(IRendering, bool)

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.

GetPoints(bool)

This path converts to an approximate polyline.

IsRect(out RectangleF)

Gets a indicating if the path is closed abd rectange.

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.