code: public void setPolygon(java.util.Collection<Point> polygon) {
          if (polygon == null) {
              this.polygon = null;
              return;
          }
  
          this.polygon = new java.util.ArrayList<Point>(polygon);
      }
docs: <p>
  Within the bounding box, a fine-grained polygon around the detected text.
  </p>
  
  @param polygon
  Within the bounding box, a fine-grained polygon around the detected text.