Constructor
new RemoveAnnotationCommand(annotation, drawController)
Parameters:
Name | Type | Description |
---|---|---|
annotation | Annotation | The annotation to remove. |
drawController | DrawController | The associated draw controller. |
- Source
Classes
Methods
execute()
Execute the command.
getName() → {string}
Get the command name.
Returns:
The command name.
- Type:
- string
undo()
Undo the command.