UpdateAnnotationCommand

Update annotation command.

Constructor

new UpdateAnnotationCommand(annotation, originaProps, newProps, drawController)

Parameters:
NameTypeDescription
annotationAnnotation

The annotation to update.

originaPropsobject

The original annotation properties.

newPropsobject

The new annotation properties.

drawControllerDrawController

The associated draw controller.

Classes

UpdateAnnotationCommand

Methods

execute()

Execute the command.

getName() → {string}

Get the command name.

Returns:

The command name.

Type: 
string

undo()

Undo the command.