PdfPathElement Class
A path a page paints: its bounding box in default user space, how it is painted, and the color operators in effect.
public sealed class PdfPathElement : IEquatable<PdfPathElement>- Implements
Constructors
| Name | Description |
|---|---|
| PdfPathElement(PdfRectangle, PdfPathPaint, string?, string?) | A path a page paints: its bounding box in default user space, how it is painted, and the color operators in effect. |
PdfPathElement(PdfRectangle, PdfPathPaint, string?, string?)
PdfPathElement.csA path a page paints: its bounding box in default user space, how it is painted, and the color operators in effect.
public PdfPathElement(PdfRectangle Bounds, PdfPathPaint Paint, string? FillColor, string? StrokeColor)Parameters
BoundsPdfRectangle- The bounding box of the points of the path (the control points of its curves included), in default user space.
PaintPdfPathPaint- How the path is painted.
FillColorstring?- The operator that set the fill color, such as
1 0 0 rg, ornullfor the initial color. StrokeColorstring?- The operator that set the stroke color, such as
0 G, ornullfor the initial color.
Properties
| Name | Description |
|---|---|
| Bounds | The bounding box of the points of the path (the control points of its curves included), in default user space. |
| FillColor | The operator that set the fill color, such as 1 0 0 rg, or null for the initial color. |
| Paint | How the path is painted. |
| StrokeColor | The operator that set the stroke color, such as 0 G, or null for the initial color. |
Bounds
PdfPathElement.csThe bounding box of the points of the path (the control points of its curves included), in default user space.
public PdfRectangle Bounds { get; init; }Property value
FillColor
PdfPathElement.csPaint
PdfPathElement.csStrokeColor
PdfPathElement.csMethods
| Name | Description |
|---|---|
| Deconstruct(PdfRectangle, PdfPathPaint, string?, string?) | |
| Equals(PdfPathElement?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() | Returns a string that represents the current object. |
Deconstruct(PdfRectangle, PdfPathPaint, string?, string?)
public void Deconstruct(out PdfRectangle Bounds, out PdfPathPaint Paint, out string? FillColor, out string? StrokeColor)Parameters
BoundsPdfRectanglePaintPdfPathPaintFillColorstring?StrokeColorstring?
No documentation is available.
Equals overloads
Equals(PdfPathElement?)
public bool Equals(PdfPathElement? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
PdfPathElement.csOperators
| Name | Description |
|---|---|
| operator ==(PdfPathElement?, PdfPathElement?) | |
| operator !=(PdfPathElement?, PdfPathElement?) |
operator ==(PdfPathElement?, PdfPathElement?)
public static bool operator ==(PdfPathElement? left, PdfPathElement? right)No documentation is available.
operator !=(PdfPathElement?, PdfPathElement?)
public static bool operator !=(PdfPathElement? left, PdfPathElement? right)No documentation is available.