Package org.apache.fop.svg.font
Class FOPGVTGlyphVector.SVGTextFragment
java.lang.Object
org.apache.fop.svg.font.FOPGVTGlyphVector.SVGTextFragment
- All Implemented Interfaces:
TextFragment
- Enclosing class:
FOPGVTGlyphVector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int index) Obtain character at specified index within this fragment's sub-sequence, where index 0 corresponds to beginning index in overal text source, and subSequenceIndex must be less than ending index - beginning index.intObtain beginning index (inclusive) of sub-sequence of fragment in overall text source.intObtain associated bidi level (if known) or -1 if not.intObtain ending index (exclusive) of sub-sequence of fragment in overall text source.Obtain reference to underlying iterator.Obtain associated language (if designated) or "none" if not.Obtain associated script (if designated) or "auto" if not.subSequence(int startIndex, int endIndex)
-
Field Details
-
charIter
-
script
-
language
-
level
private int level
-
-
Constructor Details
-
SVGTextFragment
SVGTextFragment(CharacterIterator charIter)
-
-
Method Details
-
getIterator
Description copied from interface:TextFragmentObtain reference to underlying iterator.- Specified by:
getIteratorin interfaceTextFragment
-
getBeginIndex
public int getBeginIndex()Description copied from interface:TextFragmentObtain beginning index (inclusive) of sub-sequence of fragment in overall text source.- Specified by:
getBeginIndexin interfaceTextFragment
-
getEndIndex
public int getEndIndex()Description copied from interface:TextFragmentObtain ending index (exclusive) of sub-sequence of fragment in overall text source.- Specified by:
getEndIndexin interfaceTextFragment
-
subSequence
- Specified by:
subSequencein interfaceTextFragment
-
getScript
Description copied from interface:TextFragmentObtain associated script (if designated) or "auto" if not.- Specified by:
getScriptin interfaceTextFragment
-
getLanguage
Description copied from interface:TextFragmentObtain associated language (if designated) or "none" if not.- Specified by:
getLanguagein interfaceTextFragment
-
getBidiLevel
public int getBidiLevel()Description copied from interface:TextFragmentObtain associated bidi level (if known) or -1 if not.- Specified by:
getBidiLevelin interfaceTextFragment
-
charAt
public char charAt(int index) Description copied from interface:TextFragmentObtain character at specified index within this fragment's sub-sequence, where index 0 corresponds to beginning index in overal text source, and subSequenceIndex must be less than ending index - beginning index.- Specified by:
charAtin interfaceTextFragment
-