[]
        
(Showing Draft Content)

StartAnimationCommand

Class: StartAnimationCommand

StartAnimation command.

Implements

Constructors

Constructor

new StartAnimationCommand(startFrameIndex): StartAnimationCommand;

Constructor.

Parameters

startFrameIndex

number

Returns

StartAnimationCommand

Properties

name

name: string;

Optional. The unique name of the command. Used by the undo.skipCommands option setting.

Implementation of

UndoCommandSupport.name

Methods

execute()

execute(viewer): Promise<void>;

Action implementation.

Parameters

viewer

GcImageViewer

Returns

Promise<void>

Implementation of

UndoCommandSupport.execute


undo()

undo(viewer): Promise<void>;

Undo action implementation.

Parameters

viewer

GcImageViewer

Returns

Promise<void>

Implementation of

UndoCommandSupport.undo