Interfaces

LineMeasurement

One line of a laid-out paragraph, in the paragraph's own coordinates.

Properties

ascent

ascent: number;

Negative, as in Skia: the extent above this line's baseline.


baseline

baseline: number;

Distance below the first baseline.


descent

descent: number;

endIndex

endIndex: number;

startIndex

startIndex: number;

UTF-8 byte offsets of the line's first and last glyph in the string.


width

width: number;

x

x: number;

Where the line starts once alignment has placed it.

On this page