Constructor
new RectToolbar(tool)
Create a new RectToolbar instance.
Parameters:
Name | Type | Description |
---|---|---|
tool |
RectangleTool | The RectangleTool instance. |
- Source:
Extends
- AnnotationUIToolbarBase
Methods
isEnabledForMode(mode) → {boolean}
Check if the toolbar is enabled for the specified mode.
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | The mode to check. |
- Source:
Returns:
True if the toolbar is enabled for the mode, false otherwise.
- Type
- boolean
updateInstructions(mode)
Update the instructions text based on the mode.
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | The current mode. |
- Source: