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 class Rectangle { public Rectangle() { } public Rectangle(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height = height; } public int x { set; get; } public int y { set; get; } public int width { set; get; } public int height { set; get; } }
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.