LilyPond program-reference: 3.1.41 GridLine

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

> `stencil` (unknown):

>   `ly:grid-line-interface::print`

>   The symbol to print.

> `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. Other numerical values 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` (integer):

>   `0`

>   The output layer (a value between 0 and 2): Layers define the order of printing objects. Objects in lower layers are overprinted by objects in higher layers.

This object supports the following interface(s): self-alignment-interface, item-interface, grid-line-interface and grob-interface.

#### Internals Reference