broaden setPolygon() arg type