object
Font
An object representing font properties and attributes.
Fields
family
StringThe font family.
variants
FontVariantsMultiple variants of a font, each with specific properties related to styles or weights of the font.
Was this section helpful?