dist/joint.nowrap.js
function(sx, sy, origin) {

            origin = this.origin().scale(sx, sy, origin);
            this.x = origin.x;
            this.y = origin.y;
            this.width *= sx;
            this.height *= sy;
            return this;
        }
function(sx, sy, origin) {

            origin = this.origin().scale(sx, sy, origin);
            this.x = origin.x;
            this.y = origin.y;
            this.width *= sx;
            this.height *= sy;
            return this;
        }
function ( sx , sy , origin ) { origin = this . origin ( ) . scale ( sx , sy , origin ) ; this . x = origin . x ; this . y = origin . y ; this . width *= sx ; this . height *= sy ; return this ; }
Scale rectangle with origin.
Scale rectangle with origin .