示例#1
0
        /**
         * @see Graphics2D#drawString(AttributedCharacterIterator, float, float)
         */
        public void drawString(AttributedCharacterIterator iter, float x, float y)
        {
            StringBuffer sb = new StringBuffer();

            for (char c = iter.first(); c != AttributedCharacterIterator.DONE; c = iter.next())
            {
                sb.append(c);
            }
            drawString(sb.toString(), x, y);
        }