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


GridLine

GridLine objects are created by: Grid_line_span_engraver

Standard settings:

print-function (procedure):
Grid_line_interface::print

Function taking grob as argument, returning a Stencil object.

X-extent-callback (procedure):
Grid_line_interface::width_callback

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.

self-alignment-X (number):
0

Specify alignment of an object. The value -1 means left aligned, 0 centered, and 1 right-aligned in X direction. Values in between may also be specified.

X-offset-callbacks (list):
'(#<primitive-procedure Self_alignment_interface::aligned_on_self> #<primitive-procedure Self_alignment_interface::centered_on_parent>)

A list of functions determining this objects' position relative to its parent. The last one in the list is called first. The functions take a grob and axis argument.

layer (number):
0

The output layer [0..2]: layers define the order of printing objects. Objects in lower layers are overprinted by objects in higher layers.

This object supports the following interfaces: grid-line-interface, self-alignment-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.