Next: , Previous: axis-group-interface, Up: Graphical Object Interfaces



bar-line-interface

Bar line.

Print a special bar symbol. It replaces the regular bar symbol with a special symbol. The argument bartype is a string which specifies the kind of bar to print. Options are :|, |:, :|:, ||, |., .|, and .|..

These produce, respectively, a right repeat, a left repeat, a double repeat, a double bar, a start bar, an end bar, and a thick double bar. If bartype is set to empty then nothing is printed, but a line break is allowed at that spot.

User settable properties:
bar-size (dimension, in staff space)
size of a bar line.
bar-size-procedure (procedure)
Procedure that computes the size of a bar line.
break-glyph-function (procedure)
This function determines the appearance of a bar line at the line break. It takes a glyph and break-direction and returns the glyph at a line break.
glyph (string)
a string determining what (style) of glyph is typeset. Valid choices depend on the function that is reading this property.
hair-thickness (number)
Thickness of the thin line in a bar line.
kern (dimension, in staff space)
Amount of extra white space to add. For bar line, this is the amount of space after a thick line.
thick-thickness (number)
Bar line thickness, measured in linethickness.
thin-kern (number)
The space after a hair-line in a bar line.

This grob interface is used in the following graphical objects: BarLine and SpanBar

Read comments on this page, or add one.

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

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