Added transform setter in Polygon and tested in Ellipse example