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.