Skip to main content

RotateProductCommand

Classes

RotateProductCommand

Extends

Constructors

Constructor
new RotateProductCommand(
productHandler,
historyArgs,
product,
args): RotateProductCommand;
Parameters
ParameterType
productHandlerProductHandler
historyArgsIHistoryArgs
productProduct
argsIRotateProductCmdArgs
Returns

RotateProductCommand

Overrides

BaseProductCommand.constructor

Methods

execute()
execute(): Promise<number>;
Returns

Promise<number>

Inherited from

BaseProductCommand.execute

executeCommandBody()
executeCommandBody(): Promise<number>;
Returns

Promise<number>

Overrides
BaseProductCommand._executeCommandBody;
redo()
redo(): Promise<void>;
Returns

Promise<void>

Overrides

BaseProductCommand.redo

rotateProduct()
rotateProduct(type): number;
Parameters
ParameterType
typeRotationType
Returns

number

undo()
undo(): Promise<void>;
Returns

Promise<void>

Overrides

BaseProductCommand.undo

Interfaces

IRotateProductCmdArgs

Properties

rotationType
rotationType: RotationType;
Was this page helpful?