Package org.apache.batik.bridge
Class FlowTextPainter
java.lang.Object
org.apache.batik.bridge.BasicTextPainter
org.apache.batik.bridge.StrokingTextPainter
org.apache.batik.bridge.FlowTextPainter
- All Implemented Interfaces:
TextPainter
One line Class Desc
Complete Class Desc
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.batik.bridge.StrokingTextPainter
StrokingTextPainter.TextChunk, StrokingTextPainter.TextRun
Nested classes/interfaces inherited from class org.apache.batik.bridge.BasicTextPainter
BasicTextPainter.BasicMark
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AttributedCharacterIterator.Attribute
static final AttributedCharacterIterator.Attribute
static final AttributedCharacterIterator.Attribute
static final AttributedCharacterIterator.Attribute
protected static TextPainter
A unique instance of this class.static final char
static final char
protected static Set
static final AttributedCharacterIterator.Attribute
static final char
static final char
Fields inherited from class org.apache.batik.bridge.StrokingTextPainter
ADJUST_ALL, ADJUST_SPACING, ALT_GLYPH_HANDLER, ANCHOR_TYPE, BIDI_LEVEL, FLOW_PARAGRAPH, GVT_FONTS, PAINT_INFO, TEXT_COMPOUND_ID, TEXTPATH, WRITING_MODE, WRITING_MODE_RTL, WRITING_MODE_TTB, XPOS, YPOS
Fields inherited from class org.apache.batik.bridge.BasicTextPainter
aaOffFontRenderContext, fontRenderContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TextPainter
Returns a unique instance of this class.getTextRuns
(TextNode node, AttributedCharacterIterator aci) static boolean
textWrap
(AttributedCharacterIterator[] acis, List chunkLayouts, List flowRects, FontRenderContext frc) Methods inherited from class org.apache.batik.bridge.StrokingTextPainter
adjustChunkOffsets, computeTextRuns, computeTextRuns, createModifiedACIForFontMatching, getBounds2D, getDecorationOutline, getDecorationStrokeOutline, getFontFamilyResolver, getHighlightShape, getMark, getOutline, getSelected, getTextChunk, getTextChunkACIs, getTextRunBoundaryAttributes, hitTest, paint, paintDecorations, paintTextRuns, printAttrs, reorderTextRuns, selectFirst, selectLast
Methods inherited from class org.apache.batik.bridge.BasicTextPainter
getGeometryBounds, getTextLayoutFactory, selectAt, selectTo
-
Field Details
-
singleton
A unique instance of this class. -
SOFT_HYPHEN
public static final char SOFT_HYPHEN- See Also:
-
ZERO_WIDTH_SPACE
public static final char ZERO_WIDTH_SPACE- See Also:
-
ZERO_WIDTH_JOINER
public static final char ZERO_WIDTH_JOINER- See Also:
-
SPACE
public static final char SPACE- See Also:
-
WORD_LIMIT
-
FLOW_REGIONS
-
FLOW_LINE_BREAK
-
LINE_HEIGHT
-
GVT_FONT
-
szAtts
-
-
Constructor Details
-
FlowTextPainter
public FlowTextPainter()
-
-
Method Details
-
getInstance
Returns a unique instance of this class. -
getTextRuns
- Overrides:
getTextRuns
in classStrokingTextPainter
-
textWrap
public static boolean textWrap(AttributedCharacterIterator[] acis, List chunkLayouts, List flowRects, FontRenderContext frc)
-