Rectangle Constructor (Int32, Int32, Int32, Int32)

Initializes a new instance of the Rectangle structure with the specified location and size.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public Rectangle(
	int x,
	int y,
	int width,
	int height
)

Parameters

x
Type: SystemInt32
The x-coordinate of the upper-left corner of the rectangle.
y
Type: SystemInt32
The y-coordinate of the upper-left corner of the rectangle.
width
Type: SystemInt32
The width of the rectangle.
height
Type: SystemInt32
The height of the rectangle.
See Also