code: function (corner) {
                  var _this = this;
                  /** @type {?} */
                  var rotated = {
                      x: this._paneDimensions.width * (1 - corner.y),
                      y: this._paneDimensions.height * corner.x,
                      roles: []
                  };
                  // rotates corner according to order
                  /** @type {?} */
                  var order = [
                      ['bottom', 'left'],
                      ['top', 'left'],
                      ['top', 'right'],
                      ['bottom', 'right'],
                      ['bottom', 'left']
                  ];
                  rotated.roles = order[order.findIndex(function (roles) {
                      return _this.compareArray(roles, corner.roles);
                  }) + 1];
                  return rotated;
              }
docs: returns the corner positions after a 90 degrees clockwise rotation
  @private
  @param {?} corner
  @return {?}