Class CanvasResizeCommand
Defined in: CanvasResizeCommand.js.
Constructor Attributes | Constructor Name and Description |
---|---|
CanvasResizeCommand(objectId, typeOfObject, property, previousValue, currentValue)
Used to undo actions when the canvas is resized
|
Method Attributes | Method Name and Description |
---|---|
redo()
This method got called every time the Command must execute
|
|
undo()
This method should be called every time the Command should be undone
|
Class Detail
CanvasResizeCommand(objectId, typeOfObject, property, previousValue, currentValue)
Used to undo actions when the canvas is resized
- Parameters:
- objectId
- typeOfObject
- property
- previousValue
- currentValue
Method Detail
redo()
This method got called every time the Command must execute
undo()
This method should be called every time the Command should be undone