Clarified textAlign() code examples

Two separate issues (#302 and #222) state that the current textAlign() examples could be clearer and give enhancement suggestions. This pull request implements, with some minor alterations, the suggestions from issue #302, thus killing two birds with one stone.