forAnnotation

open fun forAnnotation(@NonNull annotation: Annotation, @NonNull fragment: PdfFragment, @NonNull onEditRecordedListener: OnEditRecordedListener): AnnotationEditor

Create an editor for the given annotation.

Return

An annotation editor, if available for the given annotation, or null if no suitable annotation editor is available.

Parameters

annotation

The annotation to edit.

fragment

PdfFragment instance.

onEditRecordedListener

The listener used to report edits.