#### 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.

`X-extent-callback` (procedure):
  `Note_head::extent`

  Procedure that calculates the extent of this object. If this value is set to `#f`, the object is empty in the X direction. The procedure takes a grob and axis argument, and returns a number-pair.

`Y-extent-callback` (procedure):
  `Note_head::extent`

  see `X-extent-callback`.

`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, note-head-interface, font-interface, rhythmic-head-interface, rhythmic-grob-interface and grob-interface

Read comments on this page, or add one. This page is for LilyPond-2.2.5 (stable-branch).