Returns the information associated with the closest glyph at the specified paragraph coordinate, or null if the paragraph is empty.
Returns the information associated with the glyph at the specified UTF-16 offset within the paragraph's visible lines, or null if the index is out of bounds, or points to a codepoint that is logically after the last visible codepoint.
Returns the index of the glyph that corresponds to the provided coordinate, with the top left corner as the origin, and +y direction as down.
Returns the LineMetrics of the line at the specified line number, or null if the line number is out of bounds, or is larger than or equal to the specified max line number.
Returns the line number of the line that contains the specified UTF-16 offset within the paragraph, or -1 if the index is out of bounds, or points to a codepoint that is logically after the last visible codepoint.
Returns the total number of visible lines in the paragraph.
Returns bounding boxes that enclose all text in the range of glpyh indexes [start, end).
Returns an array of ShapedLine objects, describing the paragraph.
Finds the first and last glyphs that define a word containing the glyph at index offset.
Lays out the text in the paragraph so it is wrapped to the given width.
When called after shaping, returns the glyph IDs which were not matched by any of the provided fonts.
See Paragraph.h for more information on this class. This is only available if Paragraph has been compiled in.