Add support for text alignment and an API that takes care of line breaks etc.
Add support for text alignment and an API that takes care of line breaks etc.