Struct GlyphMetrics
Represents one laid-out glyph entry in final layout order.
public readonly struct GlyphMetrics
- Inherited Members
Properties
Advance
Gets the positioned logical advance rectangle for the glyph entry in pixel units.
public FontRectangle Advance { get; }
Property Value
Bounds
Gets the rendered rectangle for the glyph entry in pixel units.
public FontRectangle Bounds { get; }
Property Value
CodePoint
Gets the Unicode code point represented by the glyph entry.
public CodePoint CodePoint { get; }
Property Value
Font
Gets the font used to shape and render the glyph entry.
public Font Font { get; }
Property Value
GraphemeIndex
Gets the zero-based grapheme index in the original text.
public int GraphemeIndex { get; }
Property Value
RenderableBounds
Gets the union of the positioned logical advance rectangle and rendered rectangle in pixel units.
public FontRectangle RenderableBounds { get; }
Property Value
StringIndex
Gets the zero-based UTF-16 code unit index in the original text.
public int StringIndex { get; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.