highlight

open fun highlight(context: Context, docRectFList: List<RectF>, pageIndex: Int)

Highlights the specified rectangles on the given page using the AI Assistant highlighter.

Parameters

context

The context used for resource access.

docRectFList

List of rectangles in document coordinates to highlight.

pageIndex

The zero-based index of the page containing the rectangles.