Table of Contents

Class XGraphicsPath

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Represents a series of connected lines and curves.

public sealed class XGraphicsPath
Inheritance
object
XGraphicsPath

Constructors

XGraphicsPath()

Initializes a new instance of the XGraphicsPath class.

Properties

FillMode

Gets or sets an XFillMode that determines how the interiors of shapes are filled.

Internals

Grants access to internal objects of this class.

Methods

AddArc(XPoint, XPoint, XSize, double, bool, XSweepDirection)

Adds an elliptical arc to the current figure. The arc is specified WPF like.

AddArc(XRect, double, double)

Adds an elliptical arc to the current figure.

AddArc(double, double, double, double, double, double)

Adds an elliptical arc to the current figure.

AddBezier(XPoint, XPoint, XPoint, XPoint)

Adds a cubic Bézier curve to the current figure.

AddBezier(double, double, double, double, double, double, double, double)

Adds a cubic Bézier curve to the current figure.

AddBeziers(XPoint[])

Adds a sequence of connected cubic Bézier curves to the current figure.

AddClosedCurve(XPoint[])

Adds a closed curve to this path.

AddClosedCurve(XPoint[], double)

Adds a closed curve to this path.

AddCurve(XPoint[])

Adds a spline curve to the current figure.

AddCurve(XPoint[], double)

Adds a spline curve to the current figure.

AddCurve(XPoint[], int, int, double)

Adds a spline curve to the current figure.

AddEllipse(XRect)

Adds an ellipse to the current path.

AddEllipse(double, double, double, double)

Adds an ellipse to the current path.

AddLine(XPoint, XPoint)

Adds a line segment to current figure.

AddLine(double, double, double, double)

Adds a line segment to current figure.

AddLines(XPoint[])

Adds a series of connected line segments to current figure.

AddPath(XGraphicsPath, bool)

Adds the specified path to this path.

AddPie(XRect, double, double)

Adds the outline of a pie shape to this path.

AddPie(double, double, double, double, double, double)

Adds the outline of a pie shape to this path.

AddPolygon(XPoint[])

Adds a polygon to this path.

AddRectangle(XRect)

Adds a rectangle to this path.

AddRectangle(double, double, double, double)

Adds a rectangle to this path.

AddRectangles(XRect[])

Adds a series of rectangles to this path.

AddRoundedRectangle(double, double, double, double, double, double)

Adds a rectangle with rounded corners to this path.

AddString(string, XFontFamily, XFontStyleEx, double, XPoint, XStringFormat)

Adds a text string to this path.

AddString(string, XFontFamily, XFontStyleEx, double, XRect, XStringFormat)

Adds a text string to this path.

Clone()

Clones this instance.

CloseFigure()

Closes the current figure and starts a new figure.

Flatten()

Converts each curve in this XGraphicsPath into a sequence of connected line segments.

Flatten(XMatrix)

Converts each curve in this XGraphicsPath into a sequence of connected line segments.

Flatten(XMatrix, double)

Converts each curve in this XGraphicsPath into a sequence of connected line segments.

StartFigure()

Starts a new figure without closing the current figure.

Widen(XPen)

Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen.

Widen(XPen, XMatrix)

Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen.

Widen(XPen, XMatrix, double)

Replaces this path with curves that enclose the area that is filled when this path is drawn by the specified pen.