Setting staff text property

• Jan 31, 2022 - 19:53

How do I set this alignment property on my text object taka ?

TextProp.png


Comments

A quick test on a staff text seems to indicate that .align reads as the following bitfield:

  • 0: top left
  • 1: right
  • 2: Hcenter
  • 4: bottom
  • 8: middle/ Vcenter
  • 16: baseline

Combine a horizontal setting with a vertical setting; thus a value of 10 would mean center in both directions, whereas a value of 17 would be right aligned on the baseline.

Do you still have an unanswered question? Please log in first to post your question.