|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.gvt.renderer.BasicTextPainter
org.apache.batik.gvt.renderer.StrokingTextPainter
org.apache.fop.svg.NativeTextPainter
org.apache.fop.svg.PDFFlowTextPainter
public class PDFFlowTextPainter
Text Painter for SVG 1.2 (flow) text.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.batik.gvt.renderer.StrokingTextPainter |
---|
org.apache.batik.gvt.renderer.StrokingTextPainter.TextRun |
Nested classes/interfaces inherited from class org.apache.batik.gvt.renderer.BasicTextPainter |
---|
org.apache.batik.gvt.renderer.BasicTextPainter.BasicMark |
Field Summary |
---|
Fields inherited from class org.apache.fop.svg.NativeTextPainter |
---|
fontInfo, log |
Fields inherited from class org.apache.batik.gvt.renderer.StrokingTextPainter |
---|
ADJUST_ALL, ADJUST_SPACING, ALT_GLYPH_HANDLER, ANCHOR_TYPE, BIDI_LEVEL, FLOW_PARAGRAPH, FLOW_REGIONS, GVT_FONT, GVT_FONTS, PAINT_INFO, singleton, TEXT_COMPOUND_ID, TEXTPATH, WRITING_MODE, WRITING_MODE_RTL, WRITING_MODE_TTB, XPOS, YPOS |
Fields inherited from class org.apache.batik.gvt.renderer.BasicTextPainter |
---|
aaOffFontRenderContext, fontRenderContext |
Constructor Summary | |
---|---|
PDFFlowTextPainter(FontInfo fontInfo)
Main constructor |
Method Summary | |
---|---|
java.util.List |
getTextRuns(org.apache.batik.gvt.TextNode node,
java.text.AttributedCharacterIterator aci)
|
protected boolean |
isSupported(java.awt.Graphics2D g2d)
Indicates whether the given Graphics2D instance if compatible with this text painter
implementation. |
protected void |
paintTextRun(org.apache.batik.gvt.renderer.StrokingTextPainter.TextRun textRun,
java.awt.Graphics2D g2d)
Paints a single text run. |
Methods inherited from class org.apache.fop.svg.NativeTextPainter |
---|
collectCharacters, findFonts, logCharacter, logTextRun, paintTextRuns |
Methods inherited from class org.apache.batik.gvt.renderer.StrokingTextPainter |
---|
adjustChunkOffsets, computeTextRuns, createModifiedACIForFontMatching, getBounds2D, getDecorationOutline, getDecorationStrokeOutline, getHighlightShape, getInstance, getMark, getOutline, getSelected, getTextChunk, getTextChunkACIs, hitTest, paint, paintDecorations, printAttrs, selectFirst, selectLast |
Methods inherited from class org.apache.batik.gvt.renderer.BasicTextPainter |
---|
getGeometryBounds, getTextLayoutFactory, selectAt, selectTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDFFlowTextPainter(FontInfo fontInfo)
fontInfo
- the font directoryMethod Detail |
---|
public java.util.List getTextRuns(org.apache.batik.gvt.TextNode node, java.text.AttributedCharacterIterator aci)
getTextRuns
in class org.apache.batik.gvt.renderer.StrokingTextPainter
protected boolean isSupported(java.awt.Graphics2D g2d)
Graphics2D
instance if compatible with this text painter
implementation.
isSupported
in class NativeTextPainter
g2d
- the instance to check
protected void paintTextRun(org.apache.batik.gvt.renderer.StrokingTextPainter.TextRun textRun, java.awt.Graphics2D g2d)
paintTextRun
in class NativeTextPainter
textRun
- the text rung2d
- the target Graphics2D instance
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |