Class HighlightAnnotation

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      AnnotationType getType() Gets the annotation type of the annotation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HighlightAnnotation

        HighlightAnnotation(int pageIndex, List<RectF> rects)
        Creates a new highlight annotation.
        Parameters:
        pageIndex - Page to which this annotation will be attached to.
        rects - Rectangles that represent highlights for this annotation.
      • HighlightAnnotation

        HighlightAnnotation(AnnotationPropertyMap properties, boolean markDirty)
    • Method Detail

      • getType

        @NonNull() AnnotationType getType()

        Gets the annotation type of the annotation.

        Returns:

        The type of the annotation. Makes down casting easier.