Add setter and getter for text alignment in ShadowPaint