abstract void drawString(AttributedCharacterIterator iterator, int x, int y) Draws the text given by the specified iterator, using this graphics context's current color. abstract void drawString(String str, int x, int y) Draws the text given by the specified string, using this graphics context's current font and color. 这是graphics的drawString的两个方法,你说的可能是上面的那个方法,它的意思是输出iterator指定的文本,但好象不是说要纵
Draws the text given by the specified iterator, using this graphics context's current color.
abstract void drawString(String str, int x, int y)
Draws the text given by the specified string, using this graphics context's current font and color.
这是graphics的drawString的两个方法,你说的可能是上面的那个方法,它的意思是输出iterator指定的文本,但好象不是说要纵