Class ResizeCommand
Inheritance
ResizeCommand
Constructors
(constructor)(historyArgs, product, args, _productHandler, _commandManager, _canvas)
Constructs a new instance of the ResizeCommand class
Declaration
constructor(historyArgs: IHistoryArgs, product: Product, args: IResizeArgs | IExternalResizeArgs, _productHandler: ProductHandler, _commandManager: CommandManager, _canvas?: Canvas);
Parameters
Properties
_executeCommandBody
Declaration
_executeCommandBody: () => Promise<void>;
Property Value
| Type |
Description |
| () => Promise<void> |
|
Methods
redo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|
undo()
Declaration
Returns
| Type |
Description |
| Promise<void> |
|