NoteAnnotation

constructor(@IntRange(from = 0) pageIndex: Int, @NonNull annotationRect: RectF, @NonNull contents: String, @Nullable iconName: String)

Creates a new note annotation

Parameters

pageIndex

Page to which this annotation will be attached to.

annotationRect

Rectangle in page coordinates of the note position on the page.

contents

Text contents of the note.

iconName

Icon name of the note, may be null.


constructor(@NonNull properties: AnnotationPropertyManager, markDirty: Boolean)

Intended for internal usage only.