Back to Website
Show / Hide Table of Contents

Class TextWhizzCharStyle

Package: @aurigma/design-atoms-text

Constructors

(constructor)(tw, colorPalette, style)

Constructs a new instance of the TextWhizzCharStyle class

Declaration
constructor(tw: typeof TextWhizz, colorPalette: TextWhizzColorPalette, style?: ICharStyle);
Parameters
Type Name Description
typeof TextWhizz tw
TextWhizzColorPalette colorPalette
ICharStyle style

Properties

baselineShift

Declaration
baselineShift?: number;
Property Value
Type Description
number

color

Declaration
color?: IColorData;
Property Value
Type Description
IColorData

font

Declaration
font?: IFontSettings;
Property Value
Type Description
IFontSettings

horizontalScale

Declaration
horizontalScale?: number;
Property Value
Type Description
number

leading

Declaration
leading?: number;
Property Value
Type Description
number

openType

Declaration
openType?: OpenTypeFeature[];
Property Value
Type Description
OpenTypeFeature[]

stroke

Declaration
stroke?: IStroke;
Property Value
Type Description
IStroke

subscript

Declaration
subscript?: boolean;
Property Value
Type Description
boolean

subscriptSize

Declaration
subscriptSize?: number;
Property Value
Type Description
number

superscript

Declaration
superscript?: boolean;
Property Value
Type Description
boolean

superscriptSize

Declaration
superscriptSize?: number;
Property Value
Type Description
number

tracking

Declaration
tracking?: number;
Property Value
Type Description
number

underline

Declaration
underline?: boolean;
Property Value
Type Description
boolean

verticalScale

Declaration
verticalScale?: number;
Property Value
Type Description
number

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
Type Description
void
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback