Bitbybit Docs
    Preparing search index...

    Class FontDefinition (Advanced.Text3D)

    A loaded font: its name, family and variant, and the parsed font data the letter outlines are read from. The create methods look fonts up by name.

    Index

    Constructors

    Properties

    Constructors

    Properties

    name: string

    The family and the variant joined by a hyphen, such as Roboto-Regular.

    type?: fontsEnum

    The font family.

    The weight and style within the family.

    font: Font

    The parsed font the letter outlines are read from.