Skip to main content

TextWhizzCharStyle

Classes

TextWhizzCharStyle

Implements

Constructors

Constructor
new TextWhizzCharStyle(
tw,
colorPalette,
style?): TextWhizzCharStyle;
Parameters
ParameterType
twany
colorPaletteTextWhizzColorPalette
style?ICharStyle
Returns

TextWhizzCharStyle

Properties

baselineShift?
optional baselineShift?: number;
Implementation of

ICharStyle.baselineShift

color?
optional color?: IColorData;
Implementation of

ICharStyle.color

font?
optional font?: IFontSettings;
Implementation of

ICharStyle.font

horizontalScale?
optional horizontalScale?: number;
Implementation of

ICharStyle.horizontalScale

leading?
optional leading?: number;
Implementation of

ICharStyle.leading

openType?
optional openType?: OpenTypeFeature[];
Implementation of

ICharStyle.openType

stroke?
optional stroke?: IStroke;
Implementation of

ICharStyle.stroke

subscript?
optional subscript?: boolean;
Implementation of

ICharStyle.subscript

subscriptSize?
optional subscriptSize?: number;
Implementation of

ICharStyle.subscriptSize

superscript?
optional superscript?: boolean;
Implementation of

ICharStyle.superscript

superscriptSize?
optional superscriptSize?: number;
Implementation of

ICharStyle.superscriptSize

tracking?
optional tracking?: number;
Implementation of

ICharStyle.tracking

underline?
optional underline?: boolean;
Implementation of

ICharStyle.underline

verticalScale?
optional verticalScale?: number;
Implementation of

ICharStyle.verticalScale

Methods

patchToEntry()
patchToEntry(destination): CharStyle;
Parameters
ParameterType
destinationCharStyle
Returns

CharStyle

setEntry()
setEntry(style): void;
Parameters
ParameterType
styleCharStyle
Returns

void

Was this page helpful?