Constructor Rect
Rect(Point, Size)
Rectangle Constructor
public Rect(Point location, Size size)
Parameters
Remarks
Creates a Rectangle from Point and Size values.
Rect(int, int, int, int)
Rectangle Constructor
public Rect(int x, int y, int width, int height)
Parameters
Remarks
Creates a Rectangle from a specified x,y location and width and height values.