Package org.apache.batik.bridge
Class StrokingTextPainter.TextRun
- java.lang.Object
-
- org.apache.batik.bridge.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
Fields Modifier and Type Field Description 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
Constructors Constructor Description TextRun(TextSpanLayout layout, java.text.AttributedCharacterIterator aci, boolean firstRunInChunk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.text.AttributedCharacterIterator
getACI()
int
getAnchorType()
int
getBidiLevel()
TextSpanLayout
getLayout()
java.lang.Float
getLength()
java.lang.Integer
getLengthAdjust()
boolean
isFirstRunInChunk()
void
maybeReverseGlyphs(boolean mirror)
void
reverse()
-
-
-
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
-
TextRun
public 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()
-
getBidiLevel
public int getBidiLevel()
-
reverse
public void reverse()
-
maybeReverseGlyphs
public void maybeReverseGlyphs(boolean mirror)
-
-