SLUDGE

stringWidth


Syntax:

stringWidth (thisString);

Purpose:

Returns the width, in pixels, of the string thisString using the current font.

Return value:

The function returns the total number of pixels for each of the characters contained in the string.

See also:

setFont

stringLength