textWidth
fn
double textWidth(string text)Gets the width of a string in the current font.
Parameters
text | Text to measure |
Returns
Width in pixels
double textWidth(string text)Gets the width of a string in the current font.
text | Text to measure |