Class FOPGVTGlyphVector.SVGTextFragment

java.lang.Object
org.apache.fop.svg.font.FOPGVTGlyphVector.SVGTextFragment
All Implemented Interfaces:
TextFragment
Enclosing class:
FOPGVTGlyphVector

private static class FOPGVTGlyphVector.SVGTextFragment extends Object implements TextFragment
  • Field Details

    • charIter

      private final CharacterIterator charIter
    • script

      private String script
    • language

      private String language
    • level

      private int level
  • Constructor Details

  • Method Details

    • getIterator

      public CharacterIterator getIterator()
      Description copied from interface: TextFragment
      Obtain reference to underlying iterator.
      Specified by:
      getIterator in interface TextFragment
    • 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 interface TextFragment
    • 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 interface TextFragment
    • subSequence

      public CharSequence subSequence(int startIndex, int endIndex)
      Specified by:
      subSequence in interface TextFragment
    • getScript

      public String getScript()
      Description copied from interface: TextFragment
      Obtain associated script (if designated) or "auto" if not.
      Specified by:
      getScript in interface TextFragment
    • getLanguage

      public String getLanguage()
      Description copied from interface: TextFragment
      Obtain associated language (if designated) or "none" if not.
      Specified by:
      getLanguage in interface TextFragment
    • getBidiLevel

      public int getBidiLevel()
      Description copied from interface: TextFragment
      Obtain associated bidi level (if known) or -1 if not.
      Specified by:
      getBidiLevel in interface TextFragment
    • 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 interface TextFragment