Name | Description | |
---|---|---|
Rectangle Constructor |
The following tables list the members exposed by Rectangle.
Name | Description | |
---|---|---|
Rectangle Constructor |
Name | Description | |
---|---|---|
height | The height of the rectangle. | |
width | The width of the rectangle. | |
x | The x coordinate of the rectangle (representing the left side). | |
y | The y coordinate of the rectangle (representing the top edge). |
Name | Description | |
---|---|---|
clone | Creates a copy of the rectangle. | |
contains | Indicates whether the rectangle contains a given point. | |
equals | Compares two rectangles. | |
intersect | Modifies the object to represent the intersection of this rectangle with another. |