public class

AlignedAnnotationHinterDrawable

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.AlignedAnnotationHinterDrawable
Known Direct Subclasses

Class Overview

Note hinter drawable with configurable note alignment in both horizontal and vertical dimensions.

Summary

Nested Classes
enum AlignedAnnotationHinterDrawable.HorizontalAlignment Enum with possible horizontal icon alignments. 
enum AlignedAnnotationHinterDrawable.VerticalAlignment Enum with possible vertical icon alignments. 
[Expand]
Inherited Fields
From class com.pspdfkit.ui.note.NoteHinterDrawable
Public Constructors
AlignedAnnotationHinterDrawable(Drawable noteIcon, Annotation annotation, AnnotationNoteHinterThemeConfiguration annotationNoteHinterThemeConfiguration, AlignedAnnotationHinterDrawable.HorizontalAlignment horizontalAlignment, AlignedAnnotationHinterDrawable.VerticalAlignment verticalAlignment)
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.
[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 AlignedAnnotationHinterDrawable (Drawable noteIcon, Annotation annotation, AnnotationNoteHinterThemeConfiguration annotationNoteHinterThemeConfiguration, AlignedAnnotationHinterDrawable.HorizontalAlignment horizontalAlignment, AlignedAnnotationHinterDrawable.VerticalAlignment verticalAlignment)

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.