Click or drag to resize
Pdftools logo

PathGenerator Class

Inheritance Hierarchy
SystemObject
  PdfTools.Toolbox.InternalNativeBase
    PdfTools.Toolbox.InternalNativeObject
      PdfTools.Toolbox.Pdf.ContentPathGenerator

Namespace: PdfTools.Toolbox.Pdf.Content
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.0.0+fdabb036503e9f99735634a6d4f5be875399e9f5
Syntax
C#
public class PathGenerator : NativeObject, 
	IDisposable

The PathGenerator type exposes the following members.

Constructors
 NameDescription
Public methodPathGenerator

Create a new path generator for appending to a path.

Top
Methods
 NameDescription
Public methodAddArc

Add an elliptical arc to the current path.

Public methodAddCircle

Append a circle to the current path as a complete subpath.

Public methodAddEllipse

Add an ellipse to the current path as a complete subpath.

Public methodAddPie

Add an elliptical piece of pie to the current path as a complete subpath.

Public methodAddRectangle

Append a rectangle to the current path as a complete subpath.

Public methodBezierTo

Draw a bezier curve.

Append a cubic Bézier curve to the current path. The curve extends from the current point to the target position, using controlPoint1 and controlPoint2 as the Bézier control points.

The current position is changed to the target position.

Public methodCloseSubpath

Close the current subpath.

Close the current subpath by appending a straight line segment from the current point to the starting point of the subpath. This operator terminates the current subpath; appending another segment to the current path will begin a new subpath, even if the new segment begins at the endpoint reached by the closeSubpath() operation. If the current subpath has already been closed, CloseSubpath() does nothing.
Public methodDispose

Close the object

Release all native resources associated with the object.
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Public methodLineTo

Draw a line.

Append a straight line segment from the current point to the target coordinates. The current position is changed to the target position.
Public methodMoveTo

Move the current position.

Begin a new subpath by moving the current point to the specified coordinates, omitting any connecting line segment. If the previous path construction operator in the current path was also MoveTo, the new MoveTo overrides it; no vestige of the previous MoveTo operation remains in the path.
Top
See Also