code: function(other) {
          return (other instanceof $.Rect) &&
              this.x === other.x &&
              this.y === other.y &&
              this.width === other.width &&
              this.height === other.height &&
              this.degrees === other.degrees;
      }
docs: Determines if two Rectangles have equivalent components.
  @function
  @param {OpenSeadragon.Rect} rectangle The Rectangle to compare to.
  @return {Boolean} 'true' if all components are equal, otherwise 'false'.