Skip to content

Interface: LayoutResult ​

Laid-out result of measureLayout: total height (points) + wrapped line count.

Properties ​

heightPt ​

heightPt: number


lineCount ​

lineCount: number


widestLineWidthPt ​

widestLineWidthPt: number

Width (points) of the widest laid-out line across all paragraphs. Useful for tightening a box to the actual text extent or measuring a natural (single-line) width. Carries the same widthSafety inflation as the wrap decision, so a box set to this width will not re-wrap. Conservative (slightly wide).