Search Docs
Loading...
Skip to content

Interface: TextLayoutDiagnostics

Planar text layout, including lines hidden by the text frame.

Properties#

Property Type Description
overshoot TextOvershoot Unclipped glyph ink, before strokes, effects and animations, in local design units.
totalLineCount number Number of shaped lines, including lines hidden by the frame.
visibleLineCount number Number of lines visible within the current frame.
clippedLineCount number Number of lines hidden by the current frame.
requiredHeight number Height required at the current width and effective font size, in local design units.
fontScale number Common font-size scale applied by fitting; 1 when fitting does not change the size.