public class AFPTextPainter extends AbstractFOPTextPainter
log, PROXY_PAINTER
Constructor and Description |
---|
AFPTextPainter(FOPTextHandler nativeTextHandler)
Create a new text painter with the given font information.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isSupportedGraphics2D(java.awt.Graphics2D g2d)
Checks whether the Graphics2D is compatible with this text painter.
|
getBounds2D, getGeometryBounds, getHighlightShape, getMark, getOutline, getSelected, getText, paint, paintTextRun, paintTextRuns, selectAt, selectFirst, selectLast, selectTo
public AFPTextPainter(FOPTextHandler nativeTextHandler)
nativeTextHandler
- the NativeTextHandler instance used for text paintingprotected boolean isSupportedGraphics2D(java.awt.Graphics2D g2d)
isSupportedGraphics2D
in class AbstractFOPTextPainter
g2d
- the Graphics2D instance to checkCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.