ImageRotation method

Class: ImageRotationPlatform: Selenium 3Language: Java SDK:

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

Syntax


ImageRotation 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: ImageRotation