public class AFPTextPainter extends AbstractFOPTextPainter
log
Constructor and Description |
---|
AFPTextPainter(FOPTextHandler nativeTextHandler,
org.apache.batik.bridge.FontFamilyResolver fopFontFamilyResolver)
Create a new text painter with the given font information.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isSupportedGraphics2D(Graphics2D g2d)
Checks whether the Graphics2D is compatible with this text painter.
|
getBounds2D, getGeometryBounds, getHighlightShape, getMark, getOutline, getSelected, getText, paint, selectAt, selectFirst, selectLast, selectTo
public AFPTextPainter(FOPTextHandler nativeTextHandler, org.apache.batik.bridge.FontFamilyResolver fopFontFamilyResolver)
nativeTextHandler
- the NativeTextHandler instance used for text paintingfopFontFamilyResolver
- the font resolverprotected boolean isSupportedGraphics2D(Graphics2D g2d)
isSupportedGraphics2D
in class AbstractFOPTextPainter
g2d
- the Graphics2D instance to checkCopyright © 2025 Apache Software Foundation. All rights reserved.