Name | Description | |
---|---|---|
Rectangle Constructor | Constructor that creates a rectangle object with the specified position and size. |
The following tables list the members exposed by Rectangle.
Name | Description | |
---|---|---|
Rectangle Constructor | Constructor that creates a rectangle object with the specified position and size. |
Name | Description | |
---|---|---|
getHeight | Returns the height of this rectangle. | |
getWidth | Returns the width of this rectangle. | |
getX | Returns the x-coordinate of the upper-left corner of this rectangle. | |
getY | Returns the y-coordinate of the upper-left corner of this rectangle. | |
setHeight | Sets the height of this rectangle. | |
setWidth | Sets the width of this rectangle. | |
setX | Sets the x-coordinate of the upper-left corner of this rectangle. | |
setY | Sets the y-coordinate of the upper-left corner of this rectangle. |