Rectangle
Position of the target area relative to the entire screen or window. If not set, it refers to the entire 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; }
}
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.