Class: RotateCommand
Rotates an element to a given angle in degrees.
Extends
Constructors
Constructor
new RotateCommand(
id,angle):RotateCommand
Parameters
id
string
angle
number
Returns
RotateCommand
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