Font
12 Sep 20251 minute to read
Sets and gets the options for customizing the fonts.
Properties
color string
Sets and gets the font color for text.
Defaults to ’’
fontFamily string
Sets and gets the font-family for text.
fontStyle string
Sets and gets the font style for the text.
Defaults to ‘Normal’
fontWeight string
Sets and gets the font weight of the text.
Defaults to ‘Regular’
opacity number
Sets and gets the opacity of the text.
Defaults to 1
size string
Sets and gets the size of the font in text.