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 TypeMethodDescriptionchar
charAt
(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.int
Obtain beginning index (inclusive) of sub-sequence of fragment in overall text source.int
Obtain associated bidi level (if known) or -1 if not.int
Obtain 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:TextFragment
Obtain reference to underlying iterator.- Specified by:
getIterator
in interfaceTextFragment
-
getBeginIndex
public int getBeginIndex()Description copied from interface:TextFragment
Obtain beginning index (inclusive) of sub-sequence of fragment in overall text source.- Specified by:
getBeginIndex
in interfaceTextFragment
-
getEndIndex
public int getEndIndex()Description copied from interface:TextFragment
Obtain ending index (exclusive) of sub-sequence of fragment in overall text source.- Specified by:
getEndIndex
in interfaceTextFragment
-
subSequence
- Specified by:
subSequence
in interfaceTextFragment
-
getScript
Description copied from interface:TextFragment
Obtain associated script (if designated) or "auto" if not.- Specified by:
getScript
in interfaceTextFragment
-
getLanguage
Description copied from interface:TextFragment
Obtain associated language (if designated) or "none" if not.- Specified by:
getLanguage
in interfaceTextFragment
-
getBidiLevel
public int getBidiLevel()Description copied from interface:TextFragment
Obtain associated bidi level (if known) or -1 if not.- Specified by:
getBidiLevel
in interfaceTextFragment
-
charAt
public char charAt(int index) Description copied from interface:TextFragment
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.- Specified by:
charAt
in interfaceTextFragment
-