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