[]
Zoom command.
viewer.executeCommand(new ZoomCommand( { mode: 0, factor: 0.5 }, { mode: 0, factor: 1.0 } ));
new ZoomCommand(zoom, prevZoom): ZoomCommand;
ZoomSettings
new zoom settings.
ZoomSettings
ZoomCommand
name: string;
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
>