Search Docs
Loading...
Skip to content

Interface: TextFontSizeOptions

Options for text font size operations with unit support.

Properties#

PropertyTypeDescription
unit?FontSizeUnitThe unit of the font size. Defaults to the scene’s fontSizeUnit (configured via engine.scene.setFontSizeUnit()), which itself defaults to 'Point'.
from?numberThe start index of the UTF-16 range. Defaults to -1 (start of selection/text)
to?numberThe end index of the UTF-16 range. Defaults to -1 (end of selection/text)