ImageRotation method

Class: ImageRotationPlatform: Selenium 4Language: JavaScript SDK:

Create an object that defines how much an image should be rotated by.

Syntax


let rotationObj = new ImageRotation(rotation);

Parameters

rotation
Type:number
The amount by which the image should be rotated in degrees. A positive value indicates a clockwise rotation.

Return value

Type: <a class ='link' href='/Content/api/eyes-sdk/index-gen/class-imagerotation-selenium4-javascript.htm'>ImageRotation</a>