Package org.apache.batik.bridge
Class ConcreteTextPainter
- java.lang.Object
-
- org.apache.batik.bridge.BasicTextPainter
-
- org.apache.batik.bridge.ConcreteTextPainter
-
- All Implemented Interfaces:
TextPainter
public abstract class ConcreteTextPainter extends BasicTextPainter
Renders the attributed character iterator of aTextNode
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batik.bridge.BasicTextPainter
BasicTextPainter.BasicMark
-
-
Field Summary
-
Fields inherited from class org.apache.batik.bridge.BasicTextPainter
aaOffFontRenderContext, fontRenderContext
-
-
Constructor Summary
Constructors Constructor Description ConcreteTextPainter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paint(java.text.AttributedCharacterIterator aci, java.awt.geom.Point2D location, TextNode.Anchor anchor, java.awt.Graphics2D g2d)
Paints the specified attributed character iterator using the specified Graphics2D and context and font context.-
Methods inherited from class org.apache.batik.bridge.BasicTextPainter
getGeometryBounds, getTextLayoutFactory, hitTest, selectAt, selectTo
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.batik.bridge.TextPainter
getBounds2D, getHighlightShape, getMark, getOutline, getSelected, paint, selectFirst, selectLast
-
-
-
-
Method Detail
-
paint
public void paint(java.text.AttributedCharacterIterator aci, java.awt.geom.Point2D location, TextNode.Anchor anchor, java.awt.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
-
-