Implements textAlign

resolves #5