Font:getWidth
EditReturns the maximum width of a piece of text. This function does not perform wrapping but does respect newlines in the text.
Arguments
| Name | Type | Description |
| string | string | The text to measure. |
Returns
| Name | Type | Description |
| width | number | The maximum width of the text. |
Arguments
| Name | Type | Description |
| strings | table |
A table of multicolor strings to measure. The colors aren't used for anything, this just exists to match Pass:text.
|
Returns
| Name | Type | Description |
| width | number | The maximum width of the text. |