ImageRotation method

Class: ImageRotationPlatform: WebdriverIO 5Language: JavaScript SDK:

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

Syntax


let rotationObj = new ImageRotation(rotation);

Parameters

rotation
Type:int
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-webdriverio_sdk5-javascript.htm'>ImageRotation</a>