The properties defined in the Rectangle class are summarized in the following table.
Property | Description |
---|---|
bottom | Contains the bottom coordinate of the rectangle |
left | Contains the left coordinate of the rectangle |
right | Contains the right coordinate of the rectangle |
top | Contains the top coordinate of the rectangle |
Use the Rectangle class display method if you want to return a string containing these coordinate values.