PdfPathOperation Class

Represents a single drawing operation that contributes to the geometry of a PdfPathElement. Use the factory methods to construct operations rather than directly populating fields, since each operation type uses a different subset of coordinates

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public sealed class PdfPathOperation
Inheritance
Object    PdfPathOperation

Properties

Control1 First control point of a cubic Bezier curve. Only meaningful for CurveTo
Control2 Second control point of a cubic Bezier curve. Only meaningful for CurveTo
OperationType The kind of operation this instance represents
Point Destination point of the operation. For MoveTo this is the new current point; for LineTo and CurveTo this is the end point of the segment. Null for Close

Methods

Close Creates a close operation that closes the current subpath with a straight line segment back to its starting point
CurveTo Creates a curve-to operation that appends a cubic Bezier curve segment from the current point to the specified end point, using two control points
Equals
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
LineTo Creates a line-to operation that appends a straight line segment from the current point to the specified end point
MoveTo Creates a move-to operation that begins a new subpath at the specified point without producing a line segment
ToString
(Inherited from Object)

See Also