Added rotation and anchoring options to text