Constructs a new Rectangle whose upper-left corner is
specified as
(x,y) and whose width and height
are specified by the arguments of the same name.
x | the specified X coordinate | |
y | the specified Y coordinate | |
width | the width of the Rectangle | |
height | the height of the Rectangle |
Diagram: Rectangular Shapes