public override void drawString(java.text.AttributedCharacterIterator iterator, float x, float y) { if (iterator == null) { throw new java.lang.NullPointerException("AttributedCharacterIterator is null"); } if (iterator.getBeginIndex() == iterator.getEndIndex()) { return; /* nothing to draw */ } java.awt.font.TextLayout tl = new java.awt.font.TextLayout(iterator, getFontRenderContext()); tl.draw(this, x, y); }
public override void drawString(java.text.AttributedCharacterIterator iterator, float x, float y) { if( iterator == null ) { throw new java.lang.NullPointerException("AttributedCharacterIterator is null"); } if( iterator.getBeginIndex() == iterator.getEndIndex() ) { return; /* nothing to draw */ } java.awt.font.TextLayout tl = new java.awt.font.TextLayout(iterator, getFontRenderContext()); tl.draw(this, x, y); }