NoteTextMarkupAnnotationHinterDrawable

class NoteTextMarkupAnnotationHinterDrawable(noteIcon: Drawable, annotation: Annotation, annotationNoteHinterThemeConfiguration: AnnotationNoteHinterThemeConfiguration) : NoteHinterDrawable, OnAnnotationPropertyChangeListener

Drawable used by AnnotationNoteHinter to visually notify text contents property for TextMarkupAnnotation.

Constructors

Link copied to clipboard
constructor(noteIcon: Drawable, annotation: Annotation, annotationNoteHinterThemeConfiguration: AnnotationNoteHinterThemeConfiguration)

Functions

Link copied to clipboard
open override fun dispose()

Disposes the drawable. Use this method to clean-up drawable after being done with it.

Link copied to clipboard
open override fun onAnnotationPropertyChange(annotation: Annotation, property: Int, oldValue: Any?, newValue: Any?)

Called when annotation property has changed.

Link copied to clipboard
open override fun updatePdfToViewTransformation(matrix: Matrix)

Called internally by PSPDFKit every time the PDF-to-view transformation was changed.