moveAnnotation

abstract fun moveAnnotation(pageIndex: Int, fromZIndex: Int, toZIndex: Int)

Moves the annotation to the specified z-index.

Parameters

pageIndex

Index of the page on which to reorder the annotations.

fromZIndex

The original z-index of the annotation that needs to be moved (from the specified page)

toZIndex

Target z-index for the annotation to be moved to.


abstract fun moveAnnotation(@NonNull annotation: Annotation, zIndex: Int)

Moves the annotation to the specified z-index.

Parameters

annotation

Annotation to move.

zIndex

Target z-index to move the annotation to.


abstract fun moveAnnotation(@NonNull annotation: Annotation, @NonNull zIndexMove: AnnotationZIndexMove)

Moves the annotation with the specified z-index move action.

Parameters

annotation

Annotation to move.

zIndexMove

Z-index move action to be applied on the given annotation.