Skip to main content

alphaTab.model.ElementDisplay

Per-axis visibility / placement / system-display selector for an element on a staff type. Used as the value type for the clef, key signature, time signature, and rests entries on the per-staff-type configuration carriers.

Each axis is independently optional. An undefined axis defers to the outer layer in the three-layer resolution chain (per-bar โ†’ per-staff โ†’ score-wide stylesheet).

 interface ElementDisplay

Propertiesโ€‹

isVisibleโ€‹

Whether to paint the element at all.

isVisible?: boolean;

staffPlacementโ€‹

Spatial selector across the staves of a system.

staffPlacement?: StaffPlacement;

systemDisplayโ€‹

Temporal selector across the systems of the score.

systemDisplay?: SystemDisplay;