Added method to draw a polygon from a closed polyline