Click or drag to resize

RectangleF Constructor (Single, Single, Single, Single)

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 RectangleF(
	float x,
	float y,
	float width,
	float height
)

Parameters

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