boundingRect() {
    if (!this._boundingRect) {
      this._boundingRect = {
        x: this.xMin,
        y: this.yMin,
        width: this.xMax - this.xMin,
        height: this.yMax - this.yMin,
      };
    }
    return this._boundingRect;
  }
/**
   * Get the bounding rect of the polygon
   * @returns {Rect}
   */
Get the bounding rect of the polygon
@returns {Rect}
Get the bounding rect of the polygon @returns { Rect }
boundingRect() {
    if (!this._boundingRect) {
      this._boundingRect = {
        x: this.xMin,
        y: this.yMin,
        width: this.xMax - this.xMin,
        height: this.yMax - this.yMin,
      };
    }
    return this._boundingRect;
  }
boundingRect ( ) { if ( ! this . _boundingRect ) { this . _boundingRect = { x : this . xMin , y : this . yMin , width : this . xMax - this . xMin , height : this . yMax - this . yMin , } ; } return this . _boundingRect ; }
Get the bounding rect of the polygon
 @returns {Rect}
Get the bounding rect of the polygon @returns { Rect }