Class TextMarkupAnnotation


public class TextMarkupAnnotation extends MarkupAnnotation
PDF annotation describing a text markup: Highlight, Underline, Squiggle, StrikeOut
  • Field Details

    • quadPoints

      private int[] quadPoints
    • highlightCommands

      private List<PDFCmd> highlightCommands
  • Constructor Details

  • Method Details

    • parseHighlightCommands

      private void parseHighlightCommands()
      Parse the highlight commands
    • getCurrentCommand

      public List<PDFCmd> getCurrentCommand()
      Gets the highlight painting commands Use either Quads or Appearance Stream
      Overrides:
      getCurrentCommand in class MarkupAnnotation