dist/viewer.common.js
function rotateTo(degree) {
    var imageData = this.imageData;


    degree = Number(degree);

    if (isNumber(degree) && this.viewed && !this.played && this.options.rotatable) {
      imageData.rotate = degree;
      this.renderImage();
    }

    return this;
  }
function rotateTo(degree) {
    var imageData = this.imageData;


    degree = Number(degree);

    if (isNumber(degree) && this.viewed && !this.played && this.options.rotatable) {
      imageData.rotate = degree;
      this.renderImage();
    }

    return this;
  }
function rotateTo ( degree ) { var imageData = this . imageData ; degree = Number ( degree ) ; if ( isNumber ( degree ) && this . viewed && ! this . played && this . options . rotatable ) { imageData . rotate = degree ; this . renderImage ( ) ; } return this ; }
Rotate the image to an absolute degree.
@param {number} degree - The rotate degree.
@returns {Viewer} this
Rotate the image to an absolute degree .