java.lang.Object | ||
↳ | com.pspdfkit.ui.drawable.PdfDrawableProvider | |
↳ | com.pspdfkit.annotations.links.LinkAnnotationHighlighter |
PdfDrawableProvider
creating highlights based on a LinkAnnotation
instances.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LinkAnnotationHighlighter(Context context)
Creates the link annotation highlighter.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
List<? extends PdfDrawable> |
getDrawablesForPage(Context context, PdfDocument document, int pageIndex)
Returns all drawables for the given
document and pageIndex . | ||||||||||
void |
setLinkAnnotation(LinkAnnotation linkAnnotation)
Sets the link annotation to highlight.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates the link annotation highlighter.
context | Context used for pulling theme attributes set for the link annotation highlights. |
---|
Returns all drawables for the given document
and pageIndex
. The framework may
call this method on any thread.
context | Context for resource resolution. |
---|---|
document | The currently loaded PdfDocument . |
pageIndex | Number of the page for which the drawables should be returned. |
Sets the link annotation to highlight. Calling this will replace any previously set link annotation.
linkAnnotation | link annotation to highlight. |
---|