Rectangle
The location of the target area relative to the screen or window. If you do not set this parameter, the SDK selects the whole screen or window.
public static class Rectangle { public int x = 0; public int y = 0; public int width = 0; public int height = 0; public Rectangle() { x = 0; y = 0; width = 0; height = 0; } public Rectangle(int x_, int y_, int width_, int height_) { x = x_; y = y_; width = width_; height = height_; } };
Attributes
- x
- The horizontal offset from the top-left corner.
- y
- The vertical offset from the top-left corner.
- width
- The width of the target area.
- height
- The height of the target area.