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;