Class: FontAlignmentCommand
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 FontAlignmentCommand(
id,align):FontAlignmentCommand
Parameters
id
string
align
"center" | "left" | "right"
Returns
FontAlignmentCommand
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