PdfGlyph Struct

A glyph shown at a position by PdfContentBuilder.ShowGlyphs.

public readonly struct PdfGlyph : IEquatable<PdfGlyph>
Implements

Constructors

NameDescription
PdfGlyph(int, double, double)A glyph shown at a position by PdfContentBuilder.ShowGlyphs.

PdfGlyph(int, double, double)

A glyph shown at a position by PdfContentBuilder.ShowGlyphs.

public PdfGlyph(int GlyphId, double X, double Y)

Parameters

GlyphId int
The identifier of the glyph in the font.
X double
The horizontal position of the origin of the glyph from the current text position, in unscaled text space units (as the operands of Td).
Y double
The vertical position of the origin of the glyph above the baseline, in unscaled text space units.

Properties

NameDescription
GlyphIdThe identifier of the glyph in the font.
XThe horizontal position of the origin of the glyph from the current text position, in unscaled text space units (as the operands of Td).
YThe vertical position of the origin of the glyph above the baseline, in unscaled text space units.

The identifier of the glyph in the font.

public int GlyphId { get; init; }

Property value

int

The horizontal position of the origin of the glyph from the current text position, in unscaled text space units (as the operands of Td).

public double X { get; init; }

Property value

double

The vertical position of the origin of the glyph above the baseline, in unscaled text space units.

public double Y { get; init; }

Property value

double

Methods

NameDescription
Deconstruct(int, double, double)
Equals(PdfGlyph)
Equals(object)
GetHashCode()
ToString()

Deconstruct(int, double, double)

public void Deconstruct(out int GlyphId, out double X, out double Y)

Parameters

GlyphId int
X double
Y double

No documentation is available.

Equals overloads

Equals(PdfGlyph)

public bool Equals(PdfGlyph other)
Parameters
other PdfGlyph
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.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(PdfGlyph, PdfGlyph)
operator !=(PdfGlyph, PdfGlyph)

operator ==(PdfGlyph, PdfGlyph)

public static bool operator ==(PdfGlyph left, PdfGlyph right)

Parameters

left PdfGlyph
right PdfGlyph

Returns

bool

No documentation is available.

operator !=(PdfGlyph, PdfGlyph)

public static bool operator !=(PdfGlyph left, PdfGlyph right)

Parameters

left PdfGlyph
right PdfGlyph

Returns

bool

No documentation is available.