[]
Zoom command.
viewer.executeCommand(new ZoomCommand( { mode: 0, factor: 0.5 }, { mode: 0, factor: 1.0 } ));
new ZoomCommand(settings, prevSettings?): ZoomCommand;
Constructor
new zoom settings.
optional, previous zoom settings.
ZoomCommand
name: "Zoom";
Optional. The unique name of the command. Used by the undo.skipCommands option setting.
execute(viewer): Promise<void>;
Action implementation.
Promise<void>
undo(viewer): Promise<void>;
Undo action implementation.
Promise<void>