Click or drag to resize

Rectangle Constructor (Int32, Int32, Int32, Int32)

Initializes a new instance of the Rectangle class with the specified x, y, width, and height

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public Rectangle(
	int x,
	int y,
	int width,
	int height
)

Parameters

x
Type: SystemInt32
X co-ordinate for the location of the rectangle
y
Type: SystemInt32
Y co-ordinate for the location of the rectangle
width
Type: SystemInt32
Width of the rectangle
height
Type: SystemInt32
Height of the rectangle
See Also