alphaTab.RenderingResources
This public class contains central definitions for controlling the visual appearance.
class RenderingResourcesProperties​
barNumberColor​
The color to use for displaying the bar numbers above the music sheet.
barNumberFont​
The font to use for displaying the bar numbers above the music sheet.
barSeparatorColor​
The color to use for rendering bar separators, the accolade and repeat signs.
copyrightFont​
The font to use for displaying the songs copyright information in the header of the music sheet.
defaultFonts​
The default fonts for notation elements if not specified by the user.
- JavaScript
- C#
- Kotlin
static defaultFonts: Map<NotationElement, Font>;static Map<NotationElement, Font> DefaultFonts { get; set; }companion object { var defaultFonts: alphaTab.collections.Map<NotationElement, Font> }directionsFont​
The font to use for displaying the directions texts.
effectFont​
Ununsed, see deprecation note.
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.
- JavaScript
- C#
- Kotlin
readonly elementFonts: Map<NotationElement, Font>;Map<NotationElement, Font> ElementFonts { get; }val elementFonts: alphaTab.collections.Map<NotationElement, Font>engravingSettings​
The SMuFL Metrics to use for rendering music symbols.
- JavaScript
- C#
- Kotlin
engravingSettings: EngravingSettings = alphaTab;EngravingSettings EngravingSettings { get; set; } = alphaTabvar engravingSettings: EngravingSettings = alphaTabfingeringFont​
Unused, see deprecation note.
fretboardNumberFont​
The font to use for displaying the fretboard numbers in chord diagrams.
graceFont​
The font to use for grace notation related texts in the music sheet.
inlineFingeringFont​
Unused, see deprecation note.
mainGlyphColor​
The color to use for music notation elements of the primary voice.
markerFont​
The font to use for section marker labels shown above the music sheet.
numberedNotationFont​
The font to use for displaying the numbered music notation in the music sheet.
numberedNotationGraceFont​
The font to use for displaying the grace notes in numbered music notation in the music sheet.
scoreInfoColor​
The color to use for displaying the song information above the music sheets.
secondaryGlyphColor​
The color to use for music notation elements of the secondary voices.
staffLineColor​
The color to use for rendering the lines of staves.
subTitleFont​
The font to use for displaying the songs subtitle in the header of the music sheet.
tablatureFont​
The font to use for displaying the guitar tablature numbers in the music sheet.
timerFont​
The font to use for displaying beat time information in the music sheet.
titleFont​
The font to use for displaying the songs title in the header of the music sheet.
wordsFont​
The font to use for displaying the lyrics information in the header of the music sheet.