Constructor
new Rectangle(x, y, width, height)
Constructs a new Rectangle.
Parameters:
Name | Type | Description |
---|---|---|
x |
Number | |
y |
Number | |
width |
Number | |
height |
Number |