Struct GraphemeMetrics
Represents one coalesced grapheme in final layout order.
public readonly struct GraphemeMetrics
- Inherited Members
Properties
Advance
Gets the positioned logical advance rectangle for the grapheme in pixel units.
public FontRectangle Advance { get; }
Property Value
Bounds
Gets the rendered glyph bounds for the grapheme in pixel units.
public FontRectangle Bounds { get; }
Property Value
Font
Gets the font used to shape and render the grapheme.
public Font Font { get; }
Property Value
GraphemeIndex
Gets the zero-based grapheme index in the original text.
public int GraphemeIndex { get; }
Property Value
IsLineBreak
Gets a value indicating whether this grapheme represents a line break.
public bool IsLineBreak { get; }
Property Value
RenderableBounds
Gets the union of the positioned logical advance bounds and rendered glyph bounds 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; }