Skip to main content

alphaTab.model.ElementStyle

Defines the custom styles for an element in the music sheet (like bars, voices, notes etc).

 class ElementStyle<TSubElements>

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.

colors: Map<TSubElements, Color | null>;