PdfPathElement Constructor

Overload List

PdfPathElement Initializes a new empty PdfPathElement. Use MoveTo(Single, Single), LineTo(Single, Single), CurveTo(Single, Single, Single, Single, Single, Single) and Close to build up the geometry, or assign a list of operations directly through Operations. The path must start with a MoveTo(Single, Single) operation; rendering throws when the first operation is anything else
PdfPathElement(PdfPathOperation) Initializes a new PdfPathElement with the specified ordered list of path operations. Useful for path definitions assembled statically: new PdfPathElement( PdfPathOperation.MoveTo(0, 0), PdfPathOperation.LineTo(100, 0), PdfPathOperation.LineTo(50, 50), PdfPathOperation.Close()) The first operation must be a MoveTo

See Also