textWidth

fndouble textWidth(string text)

Gets the width of a string in the current font.

Parameters

textText to measure

Returns

Width in pixels