public class FlowTextPainter extends StrokingTextPainter
StrokingTextPainter.TextChunk, StrokingTextPainter.TextRun
BasicTextPainter.BasicMark
Modifier and Type | Field and Description |
---|---|
static AttributedCharacterIterator.Attribute |
FLOW_LINE_BREAK |
static AttributedCharacterIterator.Attribute |
FLOW_REGIONS |
static AttributedCharacterIterator.Attribute |
GVT_FONT |
static AttributedCharacterIterator.Attribute |
LINE_HEIGHT |
protected static TextPainter |
singleton
A unique instance of this class.
|
static char |
SOFT_HYPHEN |
static char |
SPACE |
protected static Set |
szAtts |
static AttributedCharacterIterator.Attribute |
WORD_LIMIT |
static char |
ZERO_WIDTH_JOINER |
static char |
ZERO_WIDTH_SPACE |
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
aaOffFontRenderContext, fontRenderContext
Constructor and Description |
---|
FlowTextPainter() |
Modifier and Type | Method and Description |
---|---|
static TextPainter |
getInstance()
Returns a unique instance of this class.
|
List |
getTextRuns(TextNode node,
AttributedCharacterIterator aci) |
static boolean |
textWrap(AttributedCharacterIterator[] acis,
List chunkLayouts,
List flowRects,
FontRenderContext frc) |
adjustChunkOffsets, computeTextRuns, computeTextRuns, createModifiedACIForFontMatching, getBounds2D, getDecorationOutline, getDecorationStrokeOutline, getFontFamilyResolver, getHighlightShape, getMark, getOutline, getSelected, getTextChunk, getTextChunkACIs, getTextRunBoundaryAttributes, hitTest, paint, paintDecorations, paintTextRuns, printAttrs, reorderTextRuns, selectFirst, selectLast
getGeometryBounds, getTextLayoutFactory, selectAt, selectTo
protected static TextPainter singleton
public static final char SOFT_HYPHEN
public static final char ZERO_WIDTH_SPACE
public static final char ZERO_WIDTH_JOINER
public static final char SPACE
public static final AttributedCharacterIterator.Attribute WORD_LIMIT
public static final AttributedCharacterIterator.Attribute FLOW_REGIONS
public static final AttributedCharacterIterator.Attribute FLOW_LINE_BREAK
public static final AttributedCharacterIterator.Attribute LINE_HEIGHT
public static final AttributedCharacterIterator.Attribute GVT_FONT
protected static Set szAtts
public static TextPainter getInstance()
public List getTextRuns(TextNode node, AttributedCharacterIterator aci)
getTextRuns
in class StrokingTextPainter
public static boolean textWrap(AttributedCharacterIterator[] acis, List chunkLayouts, List flowRects, FontRenderContext frc)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.