# Rectangle

Rectangle inherits from Object and defines instance variables origin, corner. It has no subclasses.

## Methods defined in Rectangle:

### Methods for accessing:

- bottom
- center
- corner
- corner: point
- extent
- extent: extent
- height
- left
- origin
- origin: point
- right
- top
- width

### Methods for comparing:

- = object
- hash

### Methods for copying:

- postCopy

### Methods for predicates:

- contains: rectangle
- containsPoint: point
- intersects: rectangle

### Methods for printing:

- printOn: stream

### Methods for rectangle functions:

- insetBy: amount
- intersect: rectangle
- merge: rectangle
- outsetBy: amount

Pocket Smalltalk Documentation