Skip to main content

alphaTab.json.FontJson

Description

Describes a font to be used. If specified as string, a CSS font shorthand property compliant value needs to be used.

 type FontJson = Font | string | {
    families: string[];
    size: number;
    style: FontStyle | keyof typeof FontStyle;
    weight: FontWeight | keyof typeof FontWeight;
}