Class UnderlineTextMarkupAnnotationFlattener

All Implemented Interfaces:
IAnnotationFlattener

public class UnderlineTextMarkupAnnotationFlattener extends AbstractTextMarkupAnnotationFlattener
Implementation of IAnnotationFlattener for underline annotations.
  • Constructor Details

  • Method Details

    • draw

      protected boolean draw (PdfAnnotation annotation, PdfPage page)
      Draws annotation. This method is called if the normal appearance stream of the annotation is not present. The default implementation returns false.
      Overrides:
      draw in class DefaultAnnotationFlattener
      Parameters:
      annotation - annotation to draw
      page - page to draw annotation on
      Returns:
      true if annotation was drawn, false otherwise