Class TextWhizzCharStyle
Constructors
(constructor)(tw, colorPalette, style)
Constructs a new instance of the TextWhizzCharStyle
class
Declaration
constructor(tw: typeof TextWhizz, colorPalette: TextWhizzColorPalette, style?: ICharStyle);
Parameters
Properties
baselineShift
Declaration
Property Value
color
Declaration
Property Value
font
Declaration
Property Value
horizontalScale
Declaration
horizontalScale?: number;
Property Value
leading
Declaration
Property Value
openType
Declaration
openType?: OpenTypeFeature[];
Property Value
stroke
Declaration
Property Value
subscript
Declaration
Property Value
subscriptSize
Declaration
Property Value
superscript
Declaration
Property Value
superscriptSize
Declaration
superscriptSize?: number;
Property Value
tracking
Declaration
Property Value
underline
Declaration
Property Value
verticalScale
Declaration
Property Value
Methods
patchToEntry(destination)
Declaration
patchToEntry(destination: TextWhizz.CharStyle): TextWhizz.CharStyle;
Parameters
Type |
Name |
Description |
TextWhizz.CharStyle |
destination |
|
Returns
Type |
Description |
TextWhizz.CharStyle |
|
setEntry(style)
Declaration
setEntry(style: TextWhizz.CharStyle): void;
Parameters
Type |
Name |
Description |
TextWhizz.CharStyle |
style |
|
Returns