Class StyleTransition

java.lang.Object
com.datalogics.PDFL.StyleTransition

public class StyleTransition extends Object
Represents a style change in a word. A StyleTransition provides information about the character index in the word where the style changes, and the new Style.
  • Method Details

    • delete

      public void delete()
    • getStyle

      public Style getStyle()
      The Style that begins at this transition.
    • getCharIndex

      public int getCharIndex()
      The index of the character in the word at which this transition begins.
    • toString

      public String toString()
      Returns a string representation of the StyleTransition.
      Overrides:
      toString in class Object