GridLine - LilyPond program-reference
Description: LilyPond program-reference

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

#### GridLine

GridLine objects are created by: Grid_line_span_engraver

Standard settings:

`X-extent` (pair of numbers):
  `ly:grid-line-interface::width`

  Hard coded extent in X direction.

`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` (number):
  `#<simple-closure (#<primitive-generic +> #<simple-closure (#<primitive-procedure ly:self-alignment-interface::centered-on-x-parent>) > #<simple-closure (#<primitive-procedure ly:self-alignment-interface::x-aligned-on-self>) >) >`

  The horizontal amount that this object is moved relative to its X-parent

`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, item-interface and grob-interface

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

Other languages: English.
Using automatic language selection.