LinkAnnotationHighlighter

PdfDrawableProvider creating highlights based on a LinkAnnotation instances.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard
open suspend override fun getDrawablesForPage(context: Context, document: PdfDocument, @IntRange(from = 0) pageIndex: Int): List<ERROR CLASS: Symbol not found for PdfDrawable>

Returns all drawables for the given document and pageIndex. The framework may call this method on any thread.

Link copied to clipboard
fun setLinkAnnotation(linkAnnotation: LinkAnnotation?)

Sets the link annotation to highlight. Calling this will replace any previously set link annotation.