org.apache.batik.gvt.renderer

Class StrokingTextPainter.TextRun

public class StrokingTextPainter.TextRun extends Object

Inner convenience class for associating a TextLayout for sub-spans, and the ACI which iterates over that subspan.
Field Summary
protected AttributedCharacterIteratoraci
protected intanchorType
protected booleanfirstRunInChunk
protected TextSpanLayoutlayout
protected Floatlength
protected IntegerlengthAdjust
Constructor Summary
TextRun(TextSpanLayout layout, AttributedCharacterIterator aci, boolean firstRunInChunk)
Method Summary
AttributedCharacterIteratorgetACI()
intgetAnchorType()
TextSpanLayoutgetLayout()
FloatgetLength()
IntegergetLengthAdjust()
booleanisFirstRunInChunk()

Field Detail

aci

protected AttributedCharacterIterator aci

anchorType

protected int anchorType

firstRunInChunk

protected boolean firstRunInChunk

layout

protected TextSpanLayout layout

length

protected Float length

lengthAdjust

protected Integer lengthAdjust

Constructor Detail

TextRun

public TextRun(TextSpanLayout layout, AttributedCharacterIterator aci, boolean firstRunInChunk)

Method Detail

getACI

public AttributedCharacterIterator getACI()

getAnchorType

public int getAnchorType()

getLayout

public TextSpanLayout getLayout()

getLength

public Float getLength()

getLengthAdjust

public Integer getLengthAdjust()

isFirstRunInChunk

public boolean isFirstRunInChunk()
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.