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.

Properties

Link copied to clipboard

Gets the sparse array mapping contextual toolbar menu item ids with the pair of annotation tool and its variant that it handles.

Functions

Link copied to clipboard

Whether the icon of item with specified ID should display the current properties used by its mapped tool. The style indicator is shown in the top left corner of the item's icon. If the provided ID is not mapped to any annotation tool, this will have no effect.