public class

NoteMultilineAnnotationHinterDrawable

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.NoteMultilineAnnotationHinterDrawable

Class Overview

Drawable used by AnnotationNoteHinter to visually notify text contents property for InkAnnotation, PolygonAnnotation, and PolylineAnnotation.

Summary

[Expand]
Inherited Fields
From class com.pspdfkit.ui.note.NoteHinterDrawable
Public Constructors
NoteMultilineAnnotationHinterDrawable(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.framework.undo.annotations.OnAnnotationPropertyChangeListener

Public Constructors

public NoteMultilineAnnotationHinterDrawable (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.