Constructor
new TransformToolbar(tool)
Create a new TransformToolbar instance.
Parameters:
Name | Type | Description |
---|---|---|
tool |
TransformTool | The TransformTool instance associated with the toolbar. |
- Source:
Extends
- AnnotationUIToolbarBase
Methods
isEnabledForMode(mode) → {boolean}
Checks if the transform tool is enabled for the specified mode.
The transform tool is enabled when there are selected items on the canvas.
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | The current mode. |
- Source:
Returns:
- True if the transform tool is enabled for the mode, otherwise false.
- Type
- boolean