Implement get/set text align for ShadowPaint

Fixes #383