Lines Matching refs:iterator
865 * Draws the text given by the specified iterator, using this
866 * graphics context's current color. The iterator has to specify a font
876 * @param iterator the iterator whose text is to be drawn
877 * @param x,y the coordinates where the iterator's text should be drawn.
884 public void drawString(AttributedCharacterIterator iterator,
887 drawString(iterator, (float)x, (float)y);
891 * Draws the text given by the specified iterator, using this
892 * graphics context's current color. The iterator has to specify a font
902 * @param iterator the iterator whose text is to be drawn
903 * @param x,y the coordinates where the iterator's text should be drawn.
910 public void drawString(AttributedCharacterIterator iterator,
912 if (iterator == null) {
917 TextLayout layout = new TextLayout(iterator, getFontRenderContext());