LinkAnnotationHighlighter

PdfDrawableProvider creating highlights based on a LinkAnnotation instances.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context)
Creates the link annotation highlighter.

Functions

Link copied to clipboard
open fun getDrawablesForPage(@Nullable context: Context, @Nullable document: PdfDocument, @IntRange(from = 0) pageIndex: Int): List<out PdfDrawable>
Returns all drawables for the given document and pageIndex.
Link copied to clipboard
open fun setLinkAnnotation(@Nullable linkAnnotation: LinkAnnotation)
Sets the link annotation to highlight.