public abstract class ConcreteTextPainter extends BasicTextPainter
TextNode
.BasicTextPainter.BasicMark
aaOffFontRenderContext, fontRenderContext
Constructor and Description |
---|
ConcreteTextPainter() |
Modifier and Type | Method and 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.
|
getGeometryBounds, getTextLayoutFactory, hitTest, selectAt, selectTo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBounds2D, getHighlightShape, getMark, getOutline, getSelected, paint, selectFirst, selectLast
public void paint(java.text.AttributedCharacterIterator aci, java.awt.geom.Point2D location, TextNode.Anchor anchor, java.awt.Graphics2D g2d)
aci
- the AttributedCharacterIterator containing the textlocation
- the location to paint the textanchor
- the text anchor positiong2d
- the Graphics2D to useCopyright © 2022 Apache Software Foundation. All Rights Reserved.