Package org.apache.batik.bridge
Class StrokingTextPainter.TextRun
- java.lang.Object
-
- org.apache.batik.bridge.StrokingTextPainter.TextRun
-
- Enclosing class:
- StrokingTextPainter
public static class StrokingTextPainter.TextRun extends java.lang.ObjectInner 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.AttributedCharacterIteratoraciprotected intanchorTypeprotected booleanfirstRunInChunkprotected TextSpanLayoutlayoutprotected java.lang.Floatlengthprotected java.lang.IntegerlengthAdjustprivate intlevelprivate intreversals
-
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.AttributedCharacterIteratorgetACI()intgetAnchorType()intgetBidiLevel()TextSpanLayoutgetLayout()java.lang.FloatgetLength()java.lang.IntegergetLengthAdjust()booleanisFirstRunInChunk()voidmaybeReverseGlyphs(boolean mirror)voidreverse()
-
-
-
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
-
level
private int level
-
reversals
private int reversals
-
-
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)
-
-