Class: FontSizeCommand
An abstract base class from which to extend all potential element commands. These commands follow the command design pattern in software development. To learn more about this pattern take a look at the following link.
https://sourcemaking.com/design_patterns/command
Extends
Constructors
Constructor
new FontSizeCommand(
id,size):FontSizeCommand
Parameters
id
string
size
number
Returns
FontSizeCommand
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