#### self-alignment-interface

Position this object on itself and/or on its parent. To this end, the following functions are provided:

`Self_alignment_interface::aligned_on_self`
  Align self on reference point, using `self-alignment-X` and `self-alignment-Y`.
`Self_alignment_interface::aligned_on_parent`
`Self_alignment_interface::centered_on_parent`
  Shift the object so its own reference point is centered on the extent of the parent
`Self_alignment_interface::centered_on_other_axis_parent`
  For X-axis, center on the Y-parent, and vice versa.

##### User settable properties:

`self-alignment-X` (number)
  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.
`self-alignment-Y` (number)
  like `self-alignment-X` but for Y axis.

This grob interface is used in the following graphical objects: BarNumber, BassFigure, DynamicText, Fingering, Hairpin, InstrumentName, LyricText, MultiMeasureRestNumber, MultiMeasureRestText, OctavateEight, RehearsalMark, SostenutoPedal, SustainPedal, UnaCordaPedal and VocalName

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