Class SetCharStyleCmd
The command to set the character style for the current cursor position or selected text.
Package: @aurigma/design-atoms-text
Remarks
only properties specified in the expected style are set.
Constructors
(constructor)(_textManager, _fontRegistry, _initData)
Constructs a new instance of the SetCharStyleCmd class
Declaration
constructor(_textManager: ITextManager, _fontRegistry: IFontRegistry, _initData: SetCharStyleCmdData);Parameters
| Type | Name | Description | 
|---|---|---|
| ITextManager | _textManager | |
| IFontRegistry | _fontRegistry | |
| SetCharStyleCmdData | _initData | 
Methods
execute()
Declaration
execute(): boolean;Returns
| Type | Description | 
|---|---|
| boolean |