Interfaces

TextBox

One run of a byte range on a single line, in paragraph coordinates.

Properties

endIndex

endIndex: number;

height

height: number;

line

line: number;

startIndex

startIndex: number;

The byte range of the glyphs this box covers: the requested range clipped to this line and rounded out to whole codepoints. endIndex is exclusive, unlike LineMeasurement.endIndex, which names its last glyph.


width

width: number;

x

x: number;

y

y: number;

On this page