Add the given word to the text. The text must be a single line.
Get the caret as a 0 width rectangle for the given pen position.
Get the caret as a 0 width rectangle.
Begin a new line.
Maximum width for a single line. If NaN, no word breaking is performed.
Current pen position.
Total size of the text.
Typeface to use for the text.
Index of the word within the line.
Low level interface for measuring text.