FontMetrics.charsWidth

FontMetrics.charsWidth

Class Overview | Class Members | This Package | All Packages

Syntax
public int charsWidth( char data[], int off, int len )
Parameters
data
the array of characters to be measured
off
the start offset of the characters in the array
len
the number of characters to be measured from the array
Returns
the advance width of the subarray of the specified char array in the font described by this font metric.
Description
Returns the total advance width for showing the specified array of characters in this Font. The advance width is the amount by which the current point is moved from one character to the next in a line of text.

See Also
charWidth, charWidth, bytesWidth, stringWidth