DecreaseFontSizeCmd
Classes
DecreaseFontSizeCmd
The command to decrease the font size by a specified value for the current cursor position or selected text.
Implements
Constructors
Constructor
new DecreaseFontSizeCmd(textManager, initData): DecreaseFontSizeCmd;
Parameters
| Parameter | Type |
|---|---|
textManager | ITextManager |
initData | DecreaseFontSizeCmdData |
Returns
Methods
execute()
execute(): boolean;
Executes the command.
Returns
boolean
true if changes were made, false otherwise.
Implementation of
DecreaseFontSizeCmdData
Data required to initialize the command.
Constructors
Constructor
new DecreaseFontSizeCmdData(): DecreaseFontSizeCmdData;
Returns
Properties
value?
optional value?: number;
Value of decrease.