Click or drag to resize

PdfPath Class

Implements graphics path, which is a sequence of primitive graphics elements.
Inheritance Hierarchy

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfPath : PdfFillElement

The PdfPath type exposes the following members.

Constructors
Properties
Name Description
Public property Brush
Gets or sets the brush.
(Inherited from PdfFillElement .)
Public property FillMode
Gets or sets the fill mode.
Public property LastPoint
Gets the last point.
Public property PathPoints
Gets the path points.
Public property PathTypes
Gets the path point types.
Public property Pen
Gets or sets a pen that will be used to draw the element.
(Inherited from PdfDrawWidget .)
Public property PointCount
Gets the point count.
Top
Methods
Name Description
Public method AddArc(RectangleF, Single, Single)
Adds an arc.
Public method AddArc(Single, Single, Single, Single, Single, Single)
Adds an arc.
Public method AddBezier(PointF, PointF, PointF, PointF)
Adds a bezier curve.
Public method AddBezier(Single, Single, Single, Single, Single, Single, Single, Single)
Adds a bezier curve.
Public method AddEllipse(RectangleF)
Adds an ellipse.
Public method AddEllipse(Single, Single, Single, Single)
Adds an ellipse.
Public method AddLine(PointF, PointF)
Adds a line.
Public method AddLine(Single, Single, Single, Single)
Adds a line.
Public method AddPath(PdfPath)
Appends the path specified to this one.
Public method AddPath( PointF , Byte )
Appends the path specified by the points and their types to this one.
Public method AddPie(RectangleF, Single, Single)
Appends the pie to this path.
Public method AddPie(Single, Single, Single, Single, Single, Single)
Appends the pie to this path.
Public method AddPolygon
Append the closed polygon to this path.
Public method AddRectangle(RectangleF)
Appends the rectangle to this path.
Public method AddRectangle(Single, Single, Single, Single)
Appends the rectangle to this path.
Public method CloseAllFigures
Closes all non-closed figures.
Public method CloseFigure
Closes the last figure.
Public method Draw(PdfCanvas)
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget .)
Public method Draw(PdfCanvas, PointF)
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget .)
Public method Draw(PdfPageBase, PointF)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, RectangleF)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfCanvas, Single, Single)
Draws an element on the Graphics.
(Inherited from PdfGraphicsWidget .)
Public method Draw(PdfPageBase, PointF, PdfTextLayout)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, RectangleF, PdfTextLayout)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, RectangleF, Boolean)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, Single, Single)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Public method Draw(PdfPageBase, Single, Single, PdfTextLayout)
Draws the element on the page.
(Inherited from PdfLayoutWidget .)
Protected method DrawInternal (Overrides PdfGraphicsWidget DrawInternal(PdfCanvas) .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetBounds
Gets the bounds.
(Inherited from PdfShapeWidget .)
Protected method GetBoundsInternal (Overrides PdfShapeWidget GetBoundsInternal .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetLastPoint
Gets the last point.
Protected method GetPen (Inherited from PdfFillElement .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method Layout
Layouts the element.
(Inherited from PdfShapeWidget .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method StartFigure
Starts a new figure.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Events
Name Description
Public event BeginPageLayout
Event. Raises before the element should be printed on the page.
(Inherited from PdfLayoutWidget .)
Public event EndPageLayout
Event. Raises after the element was printed on the page.
(Inherited from PdfLayoutWidget .)
Top
See Also