| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < script-column-interface ] | [ Up: Graphical Object Interfaces ] | [ section-label-interface > ] |
3.2.129 script-interface ¶
An object that is put above or below a note.
User-settable properties: ¶
script-priority(number)A key for determining the order of scripts in a stack, by being added to the position of the script in the user input, the sum being the overall priority. Smaller means closer to the head.
side-relative-direction(direction)Multiply direction of
direction-sourcewith this to get the direction of this object.slur-padding(number)Extra distance between slur and script.
staff-position(number)Vertical position, measured in half staff spaces, counted from the middle line.
For ties, there is a distinction between exact and inexact values: an exact value serves as a rough vertical offset that gets further tuned to make the tie avoid staff lines. An inexact value is taken as the precise vertical offset without further adjustments.
toward-stem-shift(number)Amount by which scripts are shifted toward the stem if their direction coincides with the stem direction.
0.0means centered on the note head (the default position of most scripts);1.0means centered on the stem. Interpolated values are possible.toward-stem-shift-in-column(number)Amount by which a script is shifted toward the stem if its direction coincides with the stem direction and it is associated with a
ScriptColumnobject.0.0means centered on the note head (the default position of most scripts);1.0means centered on the stem. Interpolated values are possible.
Internal properties: ¶
direction-source(graphical (layout) object)In case
side-relative-directionis set, which grob to get the direction from.positioning-done(boolean)Used to signal that a positioning element did its job. This ensures that a positioning is only done once.
script-column(graphical (layout) object)A
ScriptColumnassociated with aScriptobject.script-stencil(pair)A pair
(type . arg)which acts as an index for looking up aStencilobject.slur(graphical (layout) object)A pointer to a
Slurobject.toe-heel-style(symbol)The style used for toe and heel glyphs of a
Scriptgrob.
This grob interface is used in the following graphical object(s): AccidentalSuggestion, CaesuraScript, DynamicText, MultiMeasureRestScript, and Script.
| [ << Backend ] | [Top][Contents][Index] | [ Scheme functions >> ] |
[ < script-column-interface ] | [ Up: Graphical Object Interfaces ] | [ section-label-interface > ] |