Rectangle Constructor

Creates an instance of Rectangle.
public Rectangle(
	int x,
	int y,
	int width,
	int height
)

Parameters

xSystemInt32
The X coordinate of the left edge of the rectangle.
ySystemInt32
The Y coordinate of the top edge of the rectangle.
widthSystemInt32
The width of the rectangle.
heightSystemInt32
The height of the rectangle.

See Also

Reference