org.apache.batik.gvt.renderer
Class ConcreteTextPainter
java.lang.Object
org.apache.batik.gvt.renderer.BasicTextPainter
org.apache.batik.gvt.renderer.ConcreteTextPainter
- All Implemented Interfaces:
- TextPainter
public abstract class ConcreteTextPainter
- extends BasicTextPainter
Renders the attributed character iterator of a TextNode.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcreteTextPainter
public ConcreteTextPainter()
paint
public void paint(AttributedCharacterIterator aci,
Point2D location,
TextNode.Anchor anchor,
Graphics2D g2d)
- Paints the specified attributed character iterator using the
specified Graphics2D and context and font context.
- Parameters:
aci
- the AttributedCharacterIterator containing the textlocation
- the location to paint the textanchor
- the text anchor positiong2d
- the Graphics2D to use
Copyright © 2008 Apache Software Foundation. All Rights Reserved.