@applitools/eyes.selenium
Version:
Applitools Eyes SDK for Selenium WebDriver
23 lines (19 loc) • 380 B
JavaScript
;
/**
* Encapsulates rotation data for images.
*/
class ImageRotation {
/**
* @param {number} rotation The degrees by which to rotate.
*/
constructor(rotation) {
this._rotation = rotation;
}
/**
* @return {number} The degrees by which to rotate.
*/
getRotation() {
return this._rotation;
}
}
exports.ImageRotation = ImageRotation;