TextWhizzCharStyle
Classes
TextWhizzCharStyle
Implements
Constructors
Constructor
new TextWhizzCharStyle(
tw,
colorPalette,
style?): TextWhizzCharStyle;
Parameters
| Parameter | Type |
|---|---|
tw | any |
colorPalette | TextWhizzColorPalette |
style? | ICharStyle |
Returns
Properties
baselineShift?
optional baselineShift?: number;
Implementation of
color?
optional color?: IColorData;
Implementation of
font?
optional font?: IFontSettings;
Implementation of
horizontalScale?
optional horizontalScale?: number;
Implementation of
leading?
optional leading?: number;
Implementation of
openType?
optional openType?: OpenTypeFeature[];
Implementation of
stroke?
optional stroke?: IStroke;
Implementation of
subscript?
optional subscript?: boolean;
Implementation of
subscriptSize?
optional subscriptSize?: number;
Implementation of
superscript?
optional superscript?: boolean;
Implementation of
superscriptSize?
optional superscriptSize?: number;
Implementation of
tracking?
optional tracking?: number;
Implementation of
underline?
optional underline?: boolean;
Implementation of
verticalScale?
optional verticalScale?: number;
Implementation of
Methods
patchToEntry()
patchToEntry(destination): CharStyle;
Parameters
| Parameter | Type |
|---|---|
destination | CharStyle |
Returns
CharStyle
setEntry()
setEntry(style): void;
Parameters
| Parameter | Type |
|---|---|
style | CharStyle |
Returns
void