src/rectangle.js
function() {
        return "[" +
            (Math.round(this.x * 100) / 100) + ", " +
            (Math.round(this.y * 100) / 100) + ", " +
            (Math.round(this.width * 100) / 100) + "x" +
            (Math.round(this.height * 100) / 100) + ", " +
            (Math.round(this.degrees * 100) / 100) + "deg" +
            "]";
    }
function() {
        return "[" +
            (Math.round(this.x * 100) / 100) + ", " +
            (Math.round(this.y * 100) / 100) + ", " +
            (Math.round(this.width * 100) / 100) + "x" +
            (Math.round(this.height * 100) / 100) + ", " +
            (Math.round(this.degrees * 100) / 100) + "deg" +
            "]";
    }
function ( ) { return "[" + ( Math . round ( this . x * 100 ) / 100 ) + ", " + ( Math . round ( this . y * 100 ) / 100 ) + ", " + ( Math . round ( this . width * 100 ) / 100 ) + "x" + ( Math . round ( this . height * 100 ) / 100 ) + ", " + ( Math . round ( this . degrees * 100 ) / 100 ) + "deg" + "]" ; }
Provides a string representation of the rectangle which is useful for
debugging.
@function
@returns {String} A string representation of the rectangle.
Provides a string representation of the rectangle which is useful for debugging .