Constructor
new UpdateAnnotationCommand(annotation, originaProps, newProps, drawController)
Parameters:
Name | Type | Description |
---|---|---|
annotation | Annotation | The annotation to update. |
originaProps | object | The original annotation properties. |
newProps | object | The new annotation properties. |
drawController | DrawController | The associated draw controller. |
Classes
Methods
execute()
Execute the command.
getName() → {string}
Get the command name.
Returns:
The command name.
- Type:
- string
undo()
Undo the command.