FontModel

Interface represents the settings for text styling.

Properties

color String

Specifies the text font color.

Default: null

fontFamily String

Specifies the text font family.

Default: null

fontStyle String

Specifies the text font style.

Default: Normal

fontWeight String

Specifies the text font weight.

Default: Normal

opacity Number

Specifies the text opacity.

Default: null

size String

Specifies the text font size.

Default: 16px

text String

Specifies the text to be displayed.

Default: null

textAlignment TextAlignmentType

Specifies the text alignment.

Default: Far