Constructors

Link copied to clipboard
constructor(context: Context)
constructor(context: Context, attrs: AttributeSet?)
constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun bindController(controller: AnnotationEditingController)

Bind annotation editing controller.

Link copied to clipboard
open override fun isControllerBound(): Boolean

Returns true if the controller is bound.

Link copied to clipboard
open override fun onAnnotationCreated(annotation: Annotation)

Called when annotation has been created.

Link copied to clipboard
open override fun onAnnotationRemoved(annotation: Annotation)

Called when existing annotation has been removed.

Link copied to clipboard
open override fun onAnnotationUpdated(annotation: Annotation)

Called when existing annotation has changed.

Link copied to clipboard
open override fun onAnnotationZOrderChanged(pageIndex: Int, oldOrder: List<Annotation>, newOrder: List<Annotation>)

Called when the z-order of annotations has changed on a specified page.

Link copied to clipboard

Called then annotation editing mode changes, meaning another annotation is being selected for editing.

Link copied to clipboard

Called when annotation editing mode has been entered.

Link copied to clipboard

Called when annotation editing mode has been exited.

Link copied to clipboard
open override fun onUndoHistoryChanged(undoManager: UndoManager)

Notifies the observer that the undo history has changed inside the undo manager.

Link copied to clipboard
open override fun unbindController()

Unbind current annotation editing controller (if any).