src/rectangle.js
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;
    }
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;
    }
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 ; }
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'.
Determines if two Rectangles have equivalent components .