setRects

open fun setRects(@NonNull rects: List<RectF>)

Sets rectangles for this annotation. These should be text rects obtained using getPageTextRects.

Parameters

rects

Rects for annotation in PDF coordinates.