object

Font

An object representing font properties and attributes.
Fields
family
String
The font family.
variants
FontVariants
Multiple variants of a font, each with specific properties related to styles or weights of the font.