Distance from this line's baseline up to its top edge.
Distance from the top of the paragraph down to this line's baseline.
Distance from this line's baseline down to its bottom edge.
As endIndex, with trailing whitespace trimmed.
As endIndex, including the line break that ended the line, if any.
Offset just past the line's last character.
Total height of the line box.
Whether the line ended at a newline rather than at the wrap.
Left edge of the line, which is where alignment shows up.
Zero-based index of the line.
Offset of the line's first character.
Width of the text on this line.
Measurements for one laid-out line, from Paragraph.getLineMetrics.
All offsets index the paragraph's text in UTF-16 code units; all distances are in pixels.
🧪 Not in the HTML Canvas standard.