0xfe/vexflow — pull request #48 by CaveMike (2012-03-05 19:06:10+00:00)
Title: Extended justification options for annotations.

This is a generic patch to support more justification options for annotations.

Horizontal justification is extended to fully support left, center, and right. A new option is added, center-stem, which centers the annotation around the stem instead of around the note. This will be useful for annotating stems for drum rolls.

Vertical justification was extended from setBottom(boolean) to a full-fledged option. It includes choices for top, center, bottom, and center-stem.

There is a new test that exercises all 16 combinations.

Signed-off-by: Mike Corrigan