FontMetrics.bytesWidth

FontMetrics.bytesWidth

Class Overview | Class Members | This Package | All Packages

Syntax
public int bytesWidth( byte data[], int off, int len )
Parameters
data
the array of bytes to be measured
off
the start offset of the bytes in the array
len
the number of bytes to be measured from the array
Returns
the advance width of the subarray of the specified byte array in the font described by this font metric.
Description
Returns the total advance width for showing the specified array of bytes 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
charsWidth, stringWidth