function
textWidthPx (client-side)
Available since version: 0.0.4
This function will get the text width on screen in pixels.
Declaration
int textWidthPx(string text)
Parameters
string
text: the text of which you want to calculate width.
Returns int
the text width.