Rectangle

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

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

Properties

x
Horizontal offset of the top-left corner.
y
Vertical offset of the top-left corner.
width
Width of the target area.
height
Height of the target area.