Package org.apache.batik.bridge
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
.- Version:
- $Id: ConcreteTextPainter.java 1733416 2016-03-03 07:07:13Z gadams $
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.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
-
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
-