HighlightAnnotation

constructor(@IntRange(from = 0) pageIndex: Int, @NonNull rects: List<RectF>)

Creates a new highlight annotation.

Parameters

pageIndex

Page to which this annotation will be attached to.

rects

Rectangles that represent highlights for this annotation.


constructor(@NonNull properties: AnnotationPropertyMap, markDirty: Boolean)