TextPainterpublic class FlowTextPainter extends StrokingTextPainter
BasicTextPainter.BasicMarkStrokingTextPainter.TextChunk, StrokingTextPainter.TextRun| Modifier and Type | Field | Description |
|---|---|---|
static java.text.AttributedCharacterIterator.Attribute |
FLOW_LINE_BREAK |
|
static java.text.AttributedCharacterIterator.Attribute |
FLOW_REGIONS |
|
static java.text.AttributedCharacterIterator.Attribute |
GVT_FONT |
|
static java.text.AttributedCharacterIterator.Attribute |
LINE_HEIGHT |
|
protected static TextPainter |
singleton |
A unique instance of this class.
|
static char |
SOFT_HYPHEN |
|
static char |
SPACE |
|
protected static java.util.Set |
szAtts |
|
static java.text.AttributedCharacterIterator.Attribute |
WORD_LIMIT |
|
static char |
ZERO_WIDTH_JOINER |
|
static char |
ZERO_WIDTH_SPACE |
aaOffFontRenderContext, fontRenderContextADJUST_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| Constructor | Description |
|---|---|
FlowTextPainter() |
| Modifier and Type | Method | Description |
|---|---|---|
static TextPainter |
getInstance() |
Returns a unique instance of this class.
|
java.util.List |
getTextRuns(TextNode node,
java.text.AttributedCharacterIterator aci) |
|
static boolean |
textWrap(java.text.AttributedCharacterIterator[] acis,
java.util.List chunkLayouts,
java.util.List flowRects,
java.awt.font.FontRenderContext frc) |
getGeometryBounds, getTextLayoutFactory, selectAt, selectToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadjustChunkOffsets, computeTextRuns, computeTextRuns, createModifiedACIForFontMatching, getBounds2D, getDecorationOutline, getDecorationStrokeOutline, getFontFamilyResolver, getHighlightShape, getMark, getOutline, getSelected, getTextChunk, getTextChunkACIs, getTextRunBoundaryAttributes, hitTest, paint, paintDecorations, paintTextRuns, printAttrs, reorderTextRuns, selectFirst, selectLastprotected 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 java.text.AttributedCharacterIterator.Attribute WORD_LIMIT
public static final java.text.AttributedCharacterIterator.Attribute FLOW_REGIONS
public static final java.text.AttributedCharacterIterator.Attribute FLOW_LINE_BREAK
public static final java.text.AttributedCharacterIterator.Attribute LINE_HEIGHT
public static final java.text.AttributedCharacterIterator.Attribute GVT_FONT
protected static java.util.Set szAtts
public static TextPainter getInstance()
public java.util.List getTextRuns(TextNode node, java.text.AttributedCharacterIterator aci)
getTextRuns in class StrokingTextPainterpublic static boolean textWrap(java.text.AttributedCharacterIterator[] acis,
java.util.List chunkLayouts,
java.util.List flowRects,
java.awt.font.FontRenderContext frc)
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.