Rectangle

Used to set the position of the target region relative to the screen or window.

struct Rectangle {
  int x;
  int y;
  int width;
  int height;
};

Properties

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