Skip to main content

alphaTab.json.RenderingResourcesJson

This public class contains central definitions for controlling the visual appearance.

 interface RenderingResourcesJson

Properties​

barNumberColor​

The color to use for displaying the bar numbers above the music sheet.

barNumberColor?: ColorJson;

barSeparatorColor​

The color to use for rendering bar separators, the accolade and repeat signs.

barSeparatorColor?: ColorJson;

effectFont​

Ununsed, see deprecation note.

effectFont?: FontJson;

elementFonts​

The fonts used by individual elements. Check defaultFonts for the elements which have custom fonts. Removing fonts from this map can lead to unexpected side effects and errors. Only update it with new values.

elementFonts?: Map<NotationElement | keyof typeof NotationElement | Lowercase<keyof typeof NotationElement>, FontJson>;

engravingSettings​

The SMuFL Metrics to use for rendering music symbols.

engravingSettings?: EngravingSettingsJson;

fingeringFont​

Unused, see deprecation note.

fingeringFont?: FontJson;

graceFont​

The font to use for grace notation related texts in the music sheet.

graceFont?: FontJson;

inlineFingeringFont​

Unused, see deprecation note.

inlineFingeringFont?: FontJson;

mainGlyphColor​

The color to use for music notation elements of the primary voice.

mainGlyphColor?: ColorJson;

numberedNotationFont​

The font to use for displaying the numbered music notation in the music sheet.

numberedNotationFont?: FontJson;

numberedNotationGraceFont​

The font to use for displaying the grace notes in numbered music notation in the music sheet.

numberedNotationGraceFont?: FontJson;

scoreInfoColor​

The color to use for displaying the song information above the music sheets.

scoreInfoColor?: ColorJson;

secondaryGlyphColor​

The color to use for music notation elements of the secondary voices.

secondaryGlyphColor?: ColorJson;

staffLineColor​

The color to use for rendering the lines of staves.

staffLineColor?: ColorJson;

tablatureFont​

The font to use for displaying the guitar tablature numbers in the music sheet.

tablatureFont?: FontJson;