public class PdfPathElement| 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 |
| Accessibility | Accessibility metadata used when the host PdfDocument is tagged. The default structure type is Artifact, marking the path as decorative graphic excluded from the structure tree |
| FillColor | The fill color of the path. When null the path is not filled. When non-null the path is filled using the non-zero winding rule before any line stroke is applied |
| FillOpacity | The opacity of the path fill in the range 0..1. The default value is 1 which produces a fully opaque fill |
| LineColor | The line color of the path. When null the path is only filled (provided FillColor is non-null) |
| LineOpacity | The opacity of the path line in the range 0..1. The default value is 1 which produces a fully opaque line |
| LineStyle | The line style for the path, including width, dash pattern, endpoint cap style and corner join style |
| Operations | The ordered list of operations that build up the path. Operations are evaluated in order, with the current point tracked across them. The first operation must be a MoveTo; rendering throws an InvalidOperationException when the first operation is anything else |
| RotationDegrees | The rotation angle in degrees applied to the path. Positive values rotate counter-clockwise. The pivot is interpreted on the axis-aligned bounding box of the path |
| RotationPivot | The pivot point used when rotating this path. The pivot is interpreted on the axis-aligned bounding box of the path. The default value is TopLeft |
| Close | Appends a close operation that closes the current subpath with a straight line segment back to its starting point. Returns this instance so calls can be chained |
| CurveTo | Appends a curve-to operation that draws a cubic Bezier curve from the current point to the specified end point, using two control points. Returns this instance so calls can be chained |
| Equals | (Inherited from Object) |
| Finalize | (Inherited from Object) |
| GetHashCode | (Inherited from Object) |
| GetType | (Inherited from Object) |
| LineTo | Appends a line-to operation that draws a straight line from the current point to the specified end point. Returns this instance so calls can be chained |
| MemberwiseClone | (Inherited from Object) |
| MoveTo | Appends a move-to operation that begins a new subpath at the specified point. Returns this instance so calls can be chained |
| ToString | (Inherited from Object) |