- text
- The text to measure. Cannot be null.
- index
- The offset into text to begin measuring at
- count
- The number of maximum number of entries to measure. If count is negative, then the characters are measured in reverse order.
- maxWidth
- The maximum width to accumulate.
- measuredWidth
- Optional. If not null, returns the actual width measured.
Documentation for this section has not yet been entered.
Measure the text, stopping early if the measured width exceeds maxWidth. Return the number of chars that were measured, and if measuredWidth is not null, return in it the actual width measured.