Back to API Reference
Struct

ShapedRun

sealed

Represents a text run after shaping, with glyph information and metrics.

public TextRange range

The codepoint range covered by this run.

public int glyphStart

Index of the first glyph in the shaped glyphs buffer.

public int glyphCount

Number of glyphs in this run.

public float width

Total width of all glyphs in this run.

public TextDirection direction

The text direction of this run.

public byte bidiLevel

The BiDi embedding level.

public byte language

Language registry index for the OpenType language tag applied during shaping. 0 = unset.

public int fontId

The font ID used for this run.