Class SetAlignmentCmd
The command to set text alignment for the current cursor position or selected text.
Package: @aurigma/design-atoms-text
Constructors
(constructor)(_textManager, _initData)
Constructs a new instance of the SetAlignmentCmd class
Declaration
constructor(_textManager: ITextManager, _initData: SetAlignmentCmdData);
Parameters
| Type | Name | Description |
|---|---|---|
| ITextManager | _textManager | |
| SetAlignmentCmdData | _initData |
Methods
execute()
Declaration
execute(): boolean;
Returns
| Type | Description |
|---|---|
| boolean |