Item To Annotation Tool Mapper
interface ItemToAnnotationToolMapper
A mapper that allows you to map the IDs of AnnotationCreationToolbar menu items with the annotation tool (and variant) you want it to activate/deactivate. The annotation creation toolbar will automatically handle all the logic.
Functions
Link copied to clipboard
abstract fun getItemToAnnotationToolMapping(): SparseArray<Pair<AnnotationTool, AnnotationToolVariant>>
Gets the sparse array mapping contextual toolbar menu item ids with the pair of annotation tool and its variant that it handles.
Link copied to clipboard
Whether the icon of item with specified ID should display the current properties used by its mapped tool.