Class BasicTextPainter.BasicMark

java.lang.Object
org.apache.batik.bridge.BasicTextPainter.BasicMark
All Implemented Interfaces:
Mark
Enclosing class:
BasicTextPainter

protected static class BasicTextPainter.BasicMark extends Object implements Mark
This TextPainter's implementation of the Mark interface.
  • Constructor Details

    • BasicMark

      protected BasicMark(TextNode node, TextHit hit)
      Constructs a new Mark with the specified parameters.
  • Method Details

    • getHit

      public TextHit getHit()
    • getTextNode

      public TextNode getTextNode()
      Specified by:
      getTextNode in interface Mark
    • getCharIndex

      public int getCharIndex()
      Returns the index of the character that has been hit.
      Specified by:
      getCharIndex in interface Mark
      Returns:
      The character index.