org.apache.batik.gvt.renderer
Class StrokingTextPainter.TextRun

java.lang.Object
  extended by org.apache.batik.gvt.renderer.StrokingTextPainter.TextRun
Enclosing class:
StrokingTextPainter

public class StrokingTextPainter.TextRun
extends java.lang.Object

Inner convenience class for associating a TextLayout for sub-spans, and the ACI which iterates over that subspan.


Field Summary
protected  java.text.AttributedCharacterIterator aci
           
protected  int anchorType
           
protected  boolean firstRunInChunk
           
protected  TextSpanLayout layout
           
protected  java.lang.Float length
           
protected  java.lang.Integer lengthAdjust
           
 
Constructor Summary
StrokingTextPainter.TextRun(TextSpanLayout layout, java.text.AttributedCharacterIterator aci, boolean firstRunInChunk)
           
 
Method Summary
 java.text.AttributedCharacterIterator getACI()
           
 int getAnchorType()
           
 TextSpanLayout getLayout()
           
 java.lang.Float getLength()
           
 java.lang.Integer getLengthAdjust()
           
 boolean isFirstRunInChunk()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aci

protected java.text.AttributedCharacterIterator aci

layout

protected TextSpanLayout layout

anchorType

protected int anchorType

firstRunInChunk

protected boolean firstRunInChunk

length

protected java.lang.Float length

lengthAdjust

protected java.lang.Integer lengthAdjust
Constructor Detail

StrokingTextPainter.TextRun

public StrokingTextPainter.TextRun(TextSpanLayout layout,
                                   java.text.AttributedCharacterIterator aci,
                                   boolean firstRunInChunk)
Method Detail

getACI

public java.text.AttributedCharacterIterator getACI()

getLayout

public TextSpanLayout getLayout()

getAnchorType

public int getAnchorType()

getLength

public java.lang.Float getLength()

getLengthAdjust

public java.lang.Integer getLengthAdjust()

isFirstRunInChunk

public boolean isFirstRunInChunk()


Copyright ? 2008 Apache Software Foundation. All Rights Reserved.