Class: ResizeCommand
Updates the width and height of an element to reflect a new size. Negative values will be converted to their absolute value. ie. -10 will become 10.
Extends
Constructors
Constructor
new ResizeCommand(
id,width,height):ResizeCommand
Parameters
id
string
width
number
height
number
Returns
ResizeCommand
Overrides
Properties
sequenceId?
optionalsequenceId?:string
Inherited from
Methods
apply()
apply(
state):object
Parameters
state
Returns
object
layouts
layouts:
object
Index Signature
[key: string]: LayoutState
serializableWorkflow
serializableWorkflow:
SerializableWorkflow
Overrides
overrideOldState()
overrideOldState(
state):void
Parameters
state
Returns
void
Inherited from
CanvasCommand.overrideOldState
undo()
undo():
LayoutsState