Use of this method is not recommended as each byte is interpreted as a Unicode code point in the range 0 to 255, and so can only be used to draw Latin characters in that range.
@param data the data to be drawn
@param offset the start offset in the data
@param length the number of bytes that are drawn
@param x the x coordinate of the baseline of the text
@param y the y coordinate of the baseline of the text
@throws NullPointerException if data is null.
@throws IndexOutOfBoundsException if offset orlengthis less than zero, or offset+length is greater than the length of the data array.
@see java.awt.Graphics#drawChars
@see java.awt.Graphics#drawString
| |