AlignedAnnotationHinterDrawable

open class AlignedAnnotationHinterDrawable : NoteHinterDrawable, OnAnnotationPropertyChangeListener

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

Inheritors

Constructors

Link copied to clipboard
constructor(@NonNull noteIcon: Drawable, @NonNull annotation: Annotation, @NonNull annotationNoteHinterThemeConfiguration: AnnotationNoteHinterThemeConfiguration, @NonNull horizontalAlignment: AlignedAnnotationHinterDrawable.HorizontalAlignment, @NonNull verticalAlignment: AlignedAnnotationHinterDrawable.VerticalAlignment)

Types

Link copied to clipboard
Enum with possible horizontal icon alignments.
Link copied to clipboard
Enum with possible vertical icon alignments.

Functions

Link copied to clipboard
open fun dispose()
Disposes the drawable.
Link copied to clipboard
open fun onAnnotationPropertyChange(@NonNull annotation: Annotation, property: Int, @Nullable oldValue: Any, @Nullable newValue: Any)
Called when annotation property has changed.
Link copied to clipboard
Called internally by PSPDFKit every time the PDF-to-view transformation was changed.