org.apache.batik.gvt.flow

Class FlowTextPainter

public class FlowTextPainter extends StrokingTextPainter

One line Class Desc Complete Class Desc
Field Summary
static AttributeFLOW_LINE_BREAK
static AttributeFLOW_REGIONS
static AttributeGVT_FONT
static AttributeLINE_HEIGHT
protected static TextPaintersingleton
A unique instance of this class.
protected static SetszAtts
static charSOFT_HYPHEN
static charSPACE
static AttributeWORD_LIMIT
static charZERO_WIDTH_JOINER
static charZERO_WIDTH_SPACE
Method Summary
static TextPaintergetInstance()
Returns a unique instance of this class.
ListgetTextRuns(TextNode node, AttributedCharacterIterator aci)
static booleantextWrap(AttributedCharacterIterator[] acis, List chunkLayouts, List flowRects, FontRenderContext frc)

Field Detail

FLOW_LINE_BREAK

public static final Attribute FLOW_LINE_BREAK

FLOW_REGIONS

public static final Attribute FLOW_REGIONS

GVT_FONT

public static final Attribute GVT_FONT

LINE_HEIGHT

public static final Attribute LINE_HEIGHT

singleton

protected static TextPainter singleton
A unique instance of this class.

szAtts

protected static Set szAtts

SOFT_HYPHEN

public static final char SOFT_HYPHEN

SPACE

public static final char SPACE

WORD_LIMIT

public static final Attribute WORD_LIMIT

ZERO_WIDTH_JOINER

public static final char ZERO_WIDTH_JOINER

ZERO_WIDTH_SPACE

public static final char ZERO_WIDTH_SPACE

Method Detail

getInstance

public static TextPainter getInstance()
Returns a unique instance of this class.

getTextRuns

public List getTextRuns(TextNode node, AttributedCharacterIterator aci)

textWrap

public static boolean textWrap(AttributedCharacterIterator[] acis, List chunkLayouts, List flowRects, FontRenderContext frc)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.