Implement Polygon, Polyline.