ConstReadonlyIncludeLineSpacingBottom: 4The line spacing below, so the last line reaches the bottom.
ReadonlyIncludeLineSpacingMiddle: 2Half the line spacing above and below, except at the ends.
ReadonlyIncludeLineSpacingTop: 3The line spacing above, so the first line reaches the paragraph top.
ReadonlyMax: 1The line's full height, so consecutive lines meet.
ReadonlyStrut: 5The strut's height, ignoring the glyphs.
ReadonlyTight: 0The glyphs and nothing more. The default, and what a hit test wants.
How tall the rectangles Paragraph.getRectsForRange returns are.
A selection highlight and a hit test want different answers from the same range: the highlight should meet its neighbours with no gap, the hit test should cover only the glyphs.
🧪 Not in the HTML Canvas standard.