Added a static polyline creation method to Polygon.