org.apache.batik.bridge
Class StrokingTextPainter.TextRun

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

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  AttributedCharacterIterator aci
           
protected  int anchorType
           
protected  boolean firstRunInChunk
           
protected  TextSpanLayout layout
           
protected  Float length
           
protected  Integer lengthAdjust
           
 
Constructor Summary
StrokingTextPainter.TextRun(TextSpanLayout layout, AttributedCharacterIterator aci, boolean firstRunInChunk)
           
 
Method Summary
 AttributedCharacterIterator getACI()
           
 int getAnchorType()
           
 int getBidiLevel()
           
 TextSpanLayout getLayout()
           
 Float getLength()
           
 Integer getLengthAdjust()
           
 boolean isFirstRunInChunk()
           
 void maybeReverseGlyphs(boolean mirror)
           
 void reverse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aci

protected AttributedCharacterIterator aci

layout

protected TextSpanLayout layout

anchorType

protected int anchorType

firstRunInChunk

protected boolean firstRunInChunk

length

protected Float length

lengthAdjust

protected Integer lengthAdjust
Constructor Detail

StrokingTextPainter.TextRun

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

getACI

public AttributedCharacterIterator getACI()

getLayout

public TextSpanLayout getLayout()

getAnchorType

public int getAnchorType()

getLength

public Float getLength()

getLengthAdjust

public Integer getLengthAdjust()

isFirstRunInChunk

public boolean isFirstRunInChunk()

getBidiLevel

public int getBidiLevel()

reverse

public void reverse()

maybeReverseGlyphs

public void maybeReverseGlyphs(boolean mirror)


Copyright © 2017 Apache Software Foundation. All Rights Reserved.