AnnotationSelectionController

Controls configurable properties on annotation selection layout that allows touch based editing (i.e. moving, scaling) on selected annotations. Can be retrieved by registering an using addOnAnnotationSelectedListener.

Functions

Gets the theme configuration used to customize the annotation selection view.
Link copied to clipboard
abstract fun isDraggingEnabled(): Boolean
Test whether selection dragging is enabled.
Link copied to clipboard
Test whether aspect ratio is maintained when resizing.
Link copied to clipboard
abstract fun isResizeEnabled(): Boolean
Test if selection resizing is enabled.
Link copied to clipboard
Test whether resize guides are enabled.
Link copied to clipboard
abstract fun isRotationEnabled(): Boolean
Check whether rotating annotations (that support it) is enabled.
Sets a theme configuration to customize the annotation selection view.
Link copied to clipboard
abstract fun setDraggingEnabled(isDragEnabled: Boolean)
Enable or disable selection dragging.
Link copied to clipboard
abstract fun setKeepAspectRatioEnabled(keepAspectRatio: Boolean)
Forces selection to keep/not keep aspect ratio.
Link copied to clipboard
abstract fun setResizeEnabled(resizeEnabled: Boolean)
Enable or disable selection resizing.
Link copied to clipboard
abstract fun setResizeGuidesEnabled(resizeGuidesEnabled: Boolean)
Enable or disable resize guides.
Link copied to clipboard
abstract fun setRotationEnabled(isRotationEnabled: Boolean)
Enable or disable annotation rotation.