Tool.setMode() method
Set the tool mode.
Signature:
setMode(mode?: ToolMode | undefined): this;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
mode |
ToolMode | undefined |
(Optional) |
Returns:
this
Remarks
Setting undefined will disable the tool.