org.apache.batik.bridge.TextPainterpublic class AFPTextPainter extends AbstractFOPTextPainter
log| Constructor | Description |
|---|---|
AFPTextPainter(FOPTextHandler nativeTextHandler,
org.apache.batik.bridge.FontFamilyResolver fopFontFamilyResolver) |
Create a new text painter with the given font information.
|
| Modifier and Type | Method | 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, selectAt, selectFirst, selectLast, selectTopublic AFPTextPainter(FOPTextHandler nativeTextHandler, org.apache.batik.bridge.FontFamilyResolver fopFontFamilyResolver)
nativeTextHandler - the NativeTextHandler instance used for text paintingfopFontFamilyResolver - the font resolverprotected boolean isSupportedGraphics2D(java.awt.Graphics2D g2d)
isSupportedGraphics2D in class AbstractFOPTextPainterg2d - the Graphics2D instance to checkCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.