setLastAnnotationTool

Sets the last used annotation tool. This method will add the tool to the beginning of the last selected tools list. If it already exists there, it will be just moved to the first place.

Parameters

tool

Tool to be set as the last used one.


Sets the last used annotation tool. This method will add the tool to the beginning of the last selected tools list. If it already exists there, it will be just moved to the first place.

Parameters

tool

Tool to be set as the last used one.

toolVariant

Variant of the annotation tool for which to set the value.