computeLineMetrics method

List<LineMetrics> computeLineMetrics ()

Returns the full list of LineMetrics that describe in detail the various metrics of each laid out line.

Not valid until after layout.

This can potentially return a large amount of data, so it is not recommended to repeatedly call this. Instead, cache the results.

Implementation

List<LineMetrics> computeLineMetrics() native 'Paragraph_computeLineMetrics';