vendor/kinetic-v5.1.0.js
function(change) {
            var changeX = change.x,
                changeY = change.y,
                x = this.getX(),
                y = this.getY();

            if(changeX !== undefined) {
                x += changeX;
            }

            if(changeY !== undefined) {
                y += changeY;
            }

            this.setPosition({x:x, y:y});
            return this;
        }
function(change) {
            var changeX = change.x,
                changeY = change.y,
                x = this.getX(),
                y = this.getY();

            if(changeX !== undefined) {
                x += changeX;
            }

            if(changeY !== undefined) {
                y += changeY;
            }

            this.setPosition({x:x, y:y});
            return this;
        }
function ( change ) { var changeX = change . x , changeY = change . y , x = this . getX ( ) , y = this . getY ( ) ; if ( changeX !== undefined ) { x += changeX ; } if ( changeY !== undefined ) { y += changeY ; } this . setPosition ( { x : x , y : y } ) ; return this ; }
move node by an amount relative to its current position
@method
@memberof Kinetic.Node.prototype
@param {Object} change
@param {Number} change.x
@param {Number} change.y
@returns {Kinetic.Node}
@example
// move node in x direction by 1px and y direction by 2px<br>
node.move({<br>
x: 1,<br>
y: 2)<br>
});
move node by an amount relative to its current position