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