Constructor
new RasterToolbar(tool)
The constructor sets up the toolbar UI with a button to trigger rasterization.
It also adds a warning message regarding the irreversible nature of rasterization. * @constructor
Parameters:
Name | Type | Description |
---|---|---|
tool |
RasterTool | The RasterTool instance. |
- Source:
Extends
- AnnotationUIToolbarBase
Methods
isEnabledForMode(mode) → {boolean}
Checks if the RasterTool is enabled for the given mode.
Parameters:
Name | Type | Description |
---|---|---|
mode |
string | The mode of the annotation, such as 'MultiPolygon', 'Point:Rectangle', or 'Point:Ellipse'. |
- Source:
Returns:
- Returns true if the RasterTool is enabled for the given mode, false otherwise.
- Type
- boolean