Package com.pspdfkit.annotations
Class HighlightAnnotation
-
- All Implemented Interfaces:
public class HighlightAnnotation extends TextMarkupAnnotation
Represents a text highlight annotation on the page.
-
-
Constructor Summary
Constructors Constructor Description HighlightAnnotation(int pageIndex, List<RectF> rects)
Creates a new highlight annotation. HighlightAnnotation(AnnotationPropertyManager properties, boolean markDirty)
-
Method Summary
Modifier and Type Method Description AnnotationType
getType()
Gets the annotation type of the annotation. -
-
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(AnnotationPropertyManager 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.
-
-
-
-