RemoveAnnotationCommand

Remove annotation command.

Constructor

new RemoveAnnotationCommand(annotation, drawController)

Parameters:
NameTypeDescription
annotationAnnotation

The annotation to remove.

drawControllerDrawController

The associated draw controller.

Classes

RemoveAnnotationCommand

Methods

execute()

Execute the command.

getName() → {string}

Get the command name.

Returns:

The command name.

Type: 
string

undo()

Undo the command.