NoteHinterDrawable

Drawable used by AnnotationNoteHinter to visually notify text contents property for supported annotation types.

Inheritors

Functions

Link copied to clipboard
open fun draw(@NonNull canvas: Canvas)
Draws the note hinter icon on the canvas if drawing is allowed.
Link copied to clipboard
open fun getOpacity(): Int
Link copied to clipboard
Checks whether this note hinter should be drawn.
Link copied to clipboard
open fun setAlpha(@IntRange(from = 0, to = 255) alpha: Int)
Sets the alpha value of the note hinter icon.
Link copied to clipboard
open fun setColorFilter(@Nullable colorFilter: ColorFilter)
Sets a color filter on the note hinter icon.
Link copied to clipboard
Called internally by PSPDFKit every time the PDF-to-view transformation was changed.