code: function BoxShape(hx, hy, center, angle) {
    if (!(this instanceof BoxShape)) {
      return new BoxShape(hx, hy, center, angle);
    }
  
    BoxShape._super.call(this);
  
    this._setAsBox(hx, hy, center, angle);
  }
docs: A rectangle polygon which extend PolygonShape.