Search Docs
Loading...
Skip to content

Interface: TextRunInfo

Represents a single contiguous text run with uniform formatting.

Properties#

PropertyTypeDescription
fromnumberStart grapheme index (inclusive).
tonumberEnd grapheme index (exclusive).
textstringThe text content of this run.
colorColorThe text color.
fontWeightFontWeightThe font weight.
fontStyleFontStyleThe font style.
fontSizenumberThe font size in points.
textCaseTextCaseThe text case transformation.
typefaceTypefaceThe typeface used by this run.
resolvedFontFileUristringThe resolved font file URI.
textDecorationTextDecorationConfigThe text decoration configuration of this run.
kerningnumberAdditional kerning offset in em units.