public abstract void drawString (AttributedCharacterIterator iterator, int x, int y)

Renders the text of the specified iterator applying its attributes in accordance with the specification of the TextAttribute class.

The baseline of the leftmost character is at position (xy) in this graphics context's coordinate system.

Parameters:
iterator    the iterator whose text is to be drawn
x    the x coordinate.
y    the y coordinate.

Exceptions:
NullPointerException    if iterator is null.

See also:
java.awt.Graphics.drawBytes, java.awt.Graphics.drawChars