3.2.82 script-interface

An object that is put above or below a note.

User settable properties:

add-stem-support (boolean)

If set, the Stem object is included in this script’s support.

avoid-slur (symbol)

Method of handling slur collisions. Choices are around, inside, outside. If unset, scripts and slurs ignore each other. around only moves the script if there is a collision; outside always moves the script.

script-priority (number)

A sorting key that determines in what order a script is within a stack of scripts.

slur-padding (number)

Extra distance between slur and script.

toward-stem-shift (number)

Amount by which scripts are shifted toward the stem if their direction coincides with the stem direction. 0.0 means keep the default position (centered on the note head), 1.0 means centered on the stem. Interpolated values are possible.

Internal properties:

positioning-done (boolean)

Used to signal that a positioning element did its job. This ensures that a positioning is only done once.

script-stencil (pair)

A pair (type . arg) which acts as an index for looking up a Stencil object.

slur (layout object)

A pointer to a Slur object.

This grob interface is used in the following graphical object(s): AccidentalSuggestion, DynamicText and Script.

Internals Reference