added textAlign (left,right,center)