highlight

abstract fun highlight(pageIndex: Int, documentRect: List<RectF>)

Highlights the text blocks in the document.

Parameters

pageIndex

The index of the page to highlight.

documentRect

The list of RectF representing the text blocks to highlight.