Search Docs
Loading...
Skip to content

Interface: TextFontSizeOptions

Options for block.setTextFontSize (new overload). Mirrors @cesdk/engine’s TextFontSizeOptions.

Properties#

Property Type Description
unit? FontSizeUnit Unit of the supplied size value. Default: 'Point'. getTextRuns reads its run sizes in this unit.
from? number Inclusive start grapheme index of the run. Default: -1 (whole block).
to? number Exclusive end grapheme index of the run. Default: -1 (whole block).