Methods

getTextExactWidth

Calculate an exact text width.

getTextHeight

Calculate text height.

getTextWidth

Calculate an estimated text width.

getTextWithEllipses

Calculate text to fit within a box. Add ellipsis if the text is too long.

wrapText

Calculate text to fit within a box. Option to wrap the text.