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