resolves #5

Implements textAlign

Signed-off-by: Luca Béla Palkovics <luca.bela.palkovics@gmail.com>