src/tiledimage.js
function(current) {
        return current ?
            new $.Rect(
                this._xSpring.current.value,
                this._ySpring.current.value,
                this._worldWidthCurrent,
                this._worldHeightCurrent) :
            new $.Rect(
                this._xSpring.target.value,
                this._ySpring.target.value,
                this._worldWidthTarget,
                this._worldHeightTarget);
    }
function(current) {
        return current ?
            new $.Rect(
                this._xSpring.current.value,
                this._ySpring.current.value,
                this._worldWidthCurrent,
                this._worldHeightCurrent) :
            new $.Rect(
                this._xSpring.target.value,
                this._ySpring.target.value,
                this._worldWidthTarget,
                this._worldHeightTarget);
    }
function ( current ) { return current ? new $ . Rect ( this . _xSpring . current . value , this . _ySpring . current . value , this . _worldWidthCurrent , this . _worldHeightCurrent ) : new $ . Rect ( this . _xSpring . target . value , this . _ySpring . target . value , this . _worldWidthTarget , this . _worldHeightTarget ) ; }
Get this TiledImage's bounds in viewport coordinates without taking
rotation into account.
@param {Boolean} [current=false] - Pass true for the current location;
false for target location.
@returns {OpenSeadragon.Rect} This TiledImage's bounds in viewport coordinates.
Get this TiledImage s bounds in viewport coordinates without taking rotation into account .