docs: public void setPolygon(java.util.Collection<Point> polygon) {
          if (polygon == null) {
              this.polygon = null;
              return;
          }
  
          this.polygon = new java.util.ArrayList<Point>(polygon);
      }