Preparing search index...

    Enum specifying font role for styling.

        const Ui = await import('LensStudio:Ui');
    const parent = null as unknown as import('LensStudio:Ui').Widget;
    const titleLabel = new Ui.Label(parent);
    titleLabel.text = 'Section Title';
    const bodyLabel = new Ui.Label(parent);
    bodyLabel.text = 'Body text uses default font role';
    console.log(`FontRole: Default=${Ui.FontRole.Default}, Title=${Ui.FontRole.Title}, Monospace=${Ui.FontRole.Monospace}, Small=${Ui.FontRole.Small}`);
    Index

    Enumeration Members

    Default: number

    Default font role.

    DefaultBold: number

    Default font role with bold weight.

    DefaultItalic: number

    Default font role with italic style.

    DefaultUnderlined: number

    Default font role with underline.

    First: number

    First font role.

    LargeTitle: number

    Large title font role.

    LargeTitleBold: number

    Large title font role with bold weight.

    MediumTitle: number

    Medium title font role.

    MediumTitleBold: number

    Medium title font role with bold weight.

    Monospace: number

    Monospace font role.

    Small: number

    Small font role.

    SmallTitle: number

    Small title font role.

    Title: number

    Title font role.

    TitleBold: number

    Title font role with bold weight.