Search Docs
Loading...
Skip to content

Interface: TextRunInfo

Represents a single contiguous text run with uniform formatting.

Properties#

Property Type Description
from number Start grapheme index (inclusive).
to number End grapheme index (exclusive).
text string The text content of this run.
color Color The text color.
fontWeight FontWeight The font weight.
fontStyle FontStyle The font style.
fontSize number The font size in points.
textCase TextCase The text case transformation.
typeface Typeface The typeface used by this run.
resolvedFontFileUri string The resolved font file URI.
textDecoration TextDecorationConfig The text decoration configuration of this run.
kerning number Additional kerning offset in em units.