ImageRotation class

Platform: PlaywrightLanguage: JavaScript SDK:
An object of this class represents the amount that an image should be rotated.

Constructor

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

Methods

getRotation()
Retrieve the amount the image should be rotated by.
setRotation()
Use this method to set the amount the image should be rotated by.