Rectangle Constructor (Int32, Int32, Int32, Int32)

Initializes a new instance of the [Rectangle] struct.

Namespace:  Squid
Assembly:  Squid.Core (in Squid.Core.dll)

Syntax


public Rectangle(
	int x,
	int y,
	int width,
	int height
)
Public Sub New ( _
	x As Integer, _
	y As Integer, _
	width As Integer, _
	height As Integer _
)
public:
Rectangle(
	int^ x, 
	int^ y, 
	int^ width, 
	int^ height
)

Parameters

x
Type: Int32
The x.
y
Type: Int32
The y.
width
Type: Int32
The width.
height
Type: Int32
The height.