new Rect(x, y, width, height)
Parameters:
Name | Type | Description |
---|---|---|
x |
The x-coordinate of the "top-left" corner. |
|
y |
The y-coordinate of the "top-left" corner. |
|
width |
The width of the rectangle. |
|
height |
The height of the rectangle. |