FontFamily

A font family available in the project.

FontFamily interface

A font family available in the project.

Signature:

interface FontFamily

Properties

Property

Modifiers

Type

Description

defaultStyle

readonly

string

The style Creator picks when no specific style is set. One of styles.

family

readonly

string

The family name, e.g. "Roboto".

source

readonly

FontSource

Where the family was loaded from.

styles

readonly

readonly string[]

Every available style of this family, e.g. "Regular", "Bold".

Last updated: October 8, 2026 at 10:45 AMEdit this page