Next: , Previous: NoteColumn, Up: All layout objects



NoteHead

NoteHead objects are created by: Completion_heads_engraver, Drum_notes_engraver and Note_heads_engraver

Standard settings:

style (symbol):
'default

This setting determines in what style a grob is typeset. Valid choices depend on the print-function that is reading this property.

print-function (procedure):
Note_head::print

Function taking grob as argument, returning a Stencil object.

glyph-name-procedure (procedure):
find-notehead-symbol

Return the name of a character within font, to use for printing a symbol.

Y-offset-callbacks (list):
'(#<primitive-procedure Staff_symbol_referencer::callback>)

see X-offset-callbacks.

stem-attachment-function (procedure):
note-head-style->attachment-coordinates

A function that calculates where a stem attaches to the note head? This is a fallback when this information is not specified in the font. The function takes a grob and axis argument, and returns a (x . y) pair, specifying location in terms of note head bounding box.

This object supports the following interfaces: item-interface, staff-symbol-referencer-interface, ledgered-interface, note-head-interface, font-interface, rhythmic-head-interface, rhythmic-grob-interface and grob-interface

This page is for LilyPond-2.6.3 (stable-branch).

Report errors to <bug-lilypond@gnu.org>.

Other languages: English.
Using automatic language selection.