RectangleSize class
Platform: PlaywrightLanguage: JavaScript SDK:
Provides an object that describes a rectangle. An object of this type is required as a parameter in some methods.
Constructor
- RectangleSize()
- A constructor that provides several ways to provide the values for the rectangle width and height.
Properties
- heightType:number
- The height of the rectangle in pixels.
- widthType:number
- The width of the rectangle in pixels.