alphaTab.json.RenderingResourcesJson
This public class contains central definitions for controlling the visual appearance.
interface RenderingResourcesJsonProperties​
barNumberColor​
The color to use for displaying the bar numbers above the music sheet.
barNumberColor?: ColorJson;barNumberFont​
The font to use for displaying the bar numbers above the music sheet.
barNumberFont?: FontJson;barSeparatorColor​
The color to use for rendering bar separators, the accolade and repeat signs.
barSeparatorColor?: ColorJson;copyrightFont​
The font to use for displaying the songs copyright information in the header of the music sheet.
copyrightFont?: FontJson;directionsFont​
The font to use for displaying the directions texts.
directionsFont?: 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;fretboardNumberFont​
The font to use for displaying the fretboard numbers in chord diagrams.
fretboardNumberFont?: FontJson;graceFont​
The font to use for grace notation related texts in the music sheet.
graceFont?: FontJson;mainGlyphColor​
The color to use for music notation elements of the primary voice.
mainGlyphColor?: ColorJson;markerFont​
The font to use for section marker labels shown above the music sheet.
markerFont?: FontJson;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;subTitleFont​
The font to use for displaying the songs subtitle in the header of the music sheet.
subTitleFont?: FontJson;tablatureFont​
The font to use for displaying the guitar tablature numbers in the music sheet.
tablatureFont?: FontJson;timerFont​
The font to use for displaying beat time information in the music sheet.
timerFont?: FontJson;titleFont​
The font to use for displaying the songs title in the header of the music sheet.
titleFont?: FontJson;wordsFont​
The font to use for displaying the lyrics information in the header of the music sheet.
wordsFont?: FontJson;