set Last Annotation Tool
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.
open fun setLastAnnotationTool(@NonNull tool: AnnotationTool, @NonNull toolVariant: AnnotationToolVariant)
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.
tool Variant
Variant of the annotation tool for which to set the value.