Skip to main content

alphaTab.model.NoteStyle

Defines the custom styles for notes.

 class NoteStyle extends ElementStyle<NoteSubElement>

Propertiesโ€‹

colorsโ€‹

Changes the color of the specified sub-element within the element this style container belongs to. Null indicates that a certain element should use the default color from RenderingResources even if some "higher level" element changes colors. (Inherited from ElementStyle )

colors: Map<TSubElements, Color | null>;

noteHeadโ€‹

The symbol that should be used as note head.

noteHead?: MusicFontSymbol;

noteHeadCenterOnStemโ€‹

Whether the note head symbol should be centered on the stem (e.g. for arrow notes)

noteHeadCenterOnStem?: boolean;