Skip to main content

alphaTab.model.RenderStylesheet

This class represents the rendering stylesheet. It contains settings which control the display of the score when rendered.

 class RenderStylesheet

Properties​

barNumberDisplay​

How bar numbers should be displayed.

barNumberDisplay: BarNumberDisplay;

bracketExtendMode​

The mode in which brackets and braces are drawn.

bracketExtendMode: BracketExtendMode;

extendBarLines​

Whether barlines should be drawn across staves within the same system.

extendBarLines: boolean;

firstSystemTrackNameMode​

The mode what text to display for the track name on the first system

firstSystemTrackNameMode: TrackNameMode;

firstSystemTrackNameOrientation​

The orientation of the the track names on the first system

firstSystemTrackNameOrientation: TrackNameOrientation;

globalDisplayChordDiagramsInScore​

Whether to show the chord diagrams in score.

globalDisplayChordDiagramsInScore: boolean;

globalDisplayChordDiagramsOnTop​

Whether to show the chord diagrams on top.

globalDisplayChordDiagramsOnTop: boolean;

globalDisplayTuning​

Whether to show the tuning.

globalDisplayTuning: boolean;

hideDynamics​

Whether dynamics are hidden.

hideDynamics: boolean;

hideEmptyStaves​

Whether to hide empty staves.

hideEmptyStaves: boolean;

hideEmptyStavesInFirstSystem​

Whether to also hide empty staves in the first system. Only has an effect when activating hideEmptyStaves .

hideEmptyStavesInFirstSystem: boolean;

multiTrackMultiBarRest​

If multi track: Whether to render multiple subsequent empty (or rest-only) bars together as multi-bar rest.

multiTrackMultiBarRest: boolean;

multiTrackTrackNamePolicy​

The policy where to show track names when a multiple tracks are rendered.

multiTrackTrackNamePolicy: TrackNamePolicy;

otherSystemsTrackNameMode​

The mode what text to display for the track name on the first system

otherSystemsTrackNameMode: TrackNameMode;

otherSystemsTrackNameOrientation​

The orientation of the the track names on other systems

otherSystemsTrackNameOrientation: TrackNameOrientation;

perTrackChordDiagramsOnTop​

Whether to show the chord diagrams on top. (per-track)

perTrackChordDiagramsOnTop: Map<number, boolean> | null;

perTrackDisplayTuning​

Whether to show the tuning.(per-track)

perTrackDisplayTuning: Map<number, boolean> | null;

perTrackMultiBarRest​

If single track: Whether to render multiple subsequent empty (or rest-only) bars together as multi-bar rest.

perTrackMultiBarRest: Set<number> | null;

showSingleStaffBrackets​

Whether to show brackets and braces across single staves. This allows a more consistent view for identifying staves when using hideEmptyStaves

showSingleStaffBrackets: boolean;

singleTrackTrackNamePolicy​

The policy where to show track names when a single track is rendered.

singleTrackTrackNamePolicy: TrackNamePolicy;

useSystemSignSeparator​

Whether to draw the // sign to separate systems.

useSystemSignSeparator: boolean;