Skip to content

PdfPath Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines a PDF path.

C#
public class PdfPath : Object

Inheritance: Object → PdfPath

Remarks

A path represents a series of connected lines and curves.

Constructor

Name Description
PdfPath() Initializes a new PdfPath object.

Methods

Name Description
AddArc Adds an arc to path.
AddArcFromCurrentPoint Adds an arc to path, used only for drawing clouds.
AddBezierTo Adds a cubic Berzier curve to current subpath.
AddEllipse Adds an ellipse to path.
AddLineTo Adds a line at the end of current subpath.
AddPath Adds a path at the end of current path.
AddPolyBezierTo Adds a series of connected Bezier curves to current subpath.
AddPolygon Adds a polygon to path.
AddPolyLineTo Adds a series of connected lines at the end of current subpath.
AddRectangle Adds a rectangle to path.
AddRoundRectangle Adds a rounded rectangle to path.
CloseSubpath Closes the current subpath.
StartSubpath Creates a new subpath at the given position.