FontModel
12 Sep 20251 minute to read
Interface for a class Font
Properties
color string
Sets and gets the font color for text.
fontFamily string
Sets and gets the font-family for text.
fontStyle string
Sets and gets the font style for the text.
fontWeight string
Sets and gets the font weight of the text.
opacity number
Sets and gets the opacity of the text.
size string
Sets and gets the size of the font in text.