Rectangle

The position of the target area relative to the entire screen or window. If not specified, it represents the entire screen or window.

export class Rectangle {
  
  x?: number;
  
  y?: number;
  
  width?: number;
  
  height?: number;
}

Properties

x
The horizontal offset of the top-left corner.
y
The vertical offset of the top-left corner.
width
The width of the target area.
height
The height of the target area.