code: public Geometry withPolygon(Point... polygon) {
          if (this.polygon == null) {
              setPolygon(new java.util.ArrayList<Point>(polygon.length));
          }
          for (Point ele : polygon) {
              this.polygon.add(ele);
          }
          return this;
      }
docs: <p>
  Within the bounding box, a fine-grained polygon around the detected text.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPolygon(java.util.Collection)} or {@link #withPolygon(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param polygon
  Within the bounding box, a fine-grained polygon around the detected text.
  @return Returns a reference to this object so that method calls can be chained together.