public class

NoteTextMarkupAnnotationHinterDrawable

extends NoteHinterDrawable
implements OnAnnotationPropertyChangeListener
java.lang.Object
   ↳ android.graphics.drawable.Drawable
     ↳ com.pspdfkit.ui.drawable.PdfDrawable
       ↳ com.pspdfkit.ui.note.NoteHinterDrawable
         ↳ com.pspdfkit.ui.note.NoteTextMarkupAnnotationHinterDrawable

Class Overview

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

Summary

[Expand]
Inherited Fields
From class com.pspdfkit.ui.note.NoteHinterDrawable
Public Constructors
NoteTextMarkupAnnotationHinterDrawable(Drawable noteIcon, Annotation annotation, AnnotationNoteHinterThemeConfiguration annotationNoteHinterThemeConfiguration)
Public Methods
void dispose()
Disposes the drawable.
void onAnnotationPropertyChange(Annotation annotation, int property, Object oldValue, Object newValue)
void updatePdfToViewTransformation(Matrix matrix)
Called internally by PSPDFKit every time the PDF-to-view transformation was changed.
Protected Methods
void refresh()
Refreshes the drawable when its annotation has changed.
[Expand]
Inherited Methods
From class com.pspdfkit.ui.note.NoteHinterDrawable
From class com.pspdfkit.ui.drawable.PdfDrawable
From class android.graphics.drawable.Drawable
From class java.lang.Object
From interface com.pspdfkit.internal.undo.annotations.OnAnnotationPropertyChangeListener

Public Constructors

public NoteTextMarkupAnnotationHinterDrawable (Drawable noteIcon, Annotation annotation, AnnotationNoteHinterThemeConfiguration annotationNoteHinterThemeConfiguration)

Public Methods

public void dispose ()

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

public void onAnnotationPropertyChange (Annotation annotation, int property, Object oldValue, Object newValue)

public void updatePdfToViewTransformation (Matrix matrix)

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

Parameters
matrix The current PDF-to-view transformation matrix.

Protected Methods

protected void refresh ()

Refreshes the drawable when its annotation has changed.