AlignedAnnotationHinterDrawable

open class AlignedAnnotationHinterDrawable(noteIcon: Drawable, annotation: Annotation, annotationNoteHinterThemeConfiguration: AnnotationNoteHinterThemeConfiguration, horizontalAlignment: AlignedAnnotationHinterDrawable.HorizontalAlignment, verticalAlignment: AlignedAnnotationHinterDrawable.VerticalAlignment) : NoteHinterDrawable, OnAnnotationPropertyChangeListener

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

Inheritors

Constructors

Link copied to clipboard
constructor(noteIcon: Drawable, annotation: Annotation, annotationNoteHinterThemeConfiguration: AnnotationNoteHinterThemeConfiguration, horizontalAlignment: AlignedAnnotationHinterDrawable.HorizontalAlignment, 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 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.