Table of Contents

Struct WordMetrics

Namespace
SixLabors.Fonts
Assembly
SixLabors.Fonts.dll

Represents the positioned metrics for one Unicode word-boundary segment.

public readonly struct WordMetrics
Inherited Members

Properties

Advance

Gets the positioned logical advance rectangle for the word-boundary segment in pixel units.

public FontRectangle Advance { get; }

Property Value

FontRectangle

Bounds

Gets the rendered glyph bounds for the word-boundary segment in pixel units.

public FontRectangle Bounds { get; }

Property Value

FontRectangle

GraphemeEnd

Gets the exclusive grapheme insertion index where the word-boundary segment ends.

public int GraphemeEnd { get; }

Property Value

int

GraphemeStart

Gets the inclusive grapheme insertion index where the word-boundary segment starts.

public int GraphemeStart { get; }

Property Value

int

RenderableBounds

Gets the union of the positioned logical advance bounds and rendered glyph bounds in pixel units.

public FontRectangle RenderableBounds { get; }

Property Value

FontRectangle

StringEnd

Gets the exclusive UTF-16 index where the word-boundary segment ends.

public int StringEnd { get; }

Property Value

int

StringStart

Gets the inclusive UTF-16 index where the word-boundary segment starts.

public int StringStart { get; }

Property Value

int