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โ€‹

Deprecated

Use scoreConfig , tabConfig , slashConfig , or numberedConfig .barNumber for per-staff-type control. The setter broadcasts to all four staff-type entries.

How bar numbers should be displayed score-wide.

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;

numberedConfigโ€‹

Score-wide display configuration for the numbered (jianpu) staff.

numberedConfig: NumberedStaffConfig;

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;

scoreConfigโ€‹

Score-wide display configuration for the standard-notation staff.

scoreConfig: ScoreStaffConfig;

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;

slashConfigโ€‹

Score-wide display configuration for the slash staff.

slashConfig: SlashStaffConfig;

tabConfigโ€‹

Score-wide display configuration for the tablature staff.

tabConfig: TabStaffConfig;

tuningDisplayModeโ€‹

The place where tuning information is displayed.

tuningDisplayMode: TuningDisplayMode;

useSystemSignSeparatorโ€‹

Whether to draw the // sign to separate systems.

useSystemSignSeparator: boolean;