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

NameDescription
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.cs

A 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

Bounds PdfRectangle
The bounding box of the points of the path (the control points of its curves included), in default user space.
Paint PdfPathPaint
How the path is painted.
FillColor string?
The operator that set the fill color, such as 1 0 0 rg, or null for the initial color.
StrokeColor string?
The operator that set the stroke color, such as 0 G, or null for the initial color.

Properties

NameDescription
BoundsThe bounding box of the points of the path (the control points of its curves included), in default user space.
FillColorThe operator that set the fill color, such as 1 0 0 rg, or null for the initial color.
PaintHow the path is painted.
StrokeColorThe operator that set the stroke color, such as 0 G, or null for the initial color.

The 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

PdfRectangle

The operator that set the fill color, such as 1 0 0 rg, or null for the initial color.

public string? FillColor { get; init; }

Property value

string?

How the path is painted.

public PdfPathPaint Paint { get; init; }

Property value

PdfPathPaint

The operator that set the stroke color, such as 0 G, or null for the initial color.

public string? StrokeColor { get; init; }

Property value

string?

Methods

NameDescription
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

Bounds PdfRectangle
Paint PdfPathPaint
FillColor string?
StrokeColor string?

No documentation is available.

Equals overloads

Equals(PdfPathElement?)

public bool Equals(PdfPathElement? other)
Parameters
other PdfPathElement?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.

Operators

NameDescription
operator ==(PdfPathElement?, PdfPathElement?)
operator !=(PdfPathElement?, PdfPathElement?)

operator ==(PdfPathElement?, PdfPathElement?)

public static bool operator ==(PdfPathElement? left, PdfPathElement? right)

Parameters

left PdfPathElement?
right PdfPathElement?

Returns

bool

No documentation is available.

operator !=(PdfPathElement?, PdfPathElement?)

public static bool operator !=(PdfPathElement? left, PdfPathElement? right)

Parameters

left PdfPathElement?
right PdfPathElement?

Returns

bool

No documentation is available.