Skip to main content

alphaTab.model.ScoreStyle

Defines the custom styles for Scores.

 class ScoreStyle extends ElementStyle<ScoreSubElement>

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>;

defaultHeaderAndFooterโ€‹

The default styles applied to headers and footers if not specified

static readonly defaultHeaderAndFooter: Map<ScoreSubElement, HeaderFooterStyle>;

headerAndFooterโ€‹

Changes additional style aspects fo the of the specified sub-element.