+newReturns a new rectangle with origin and corner at (0,0).
-origin:pcorner:qSets origin and corner to p and q.
+origin:pcorner:qReturns a new rectangle with origin and corner set to p and q.
-freeFrees the origin and corner of the Point too.
- (int)left
- (int)right
- (int)top
- (int)bottom
- (int)width
- (int)height
-origin
-corner
- (BOOL)contains:aPointYes if inside, or on a border of, the rectangle.
- (unsigned)hash
- (BOOL)isEqual:aRectangleReturns YES if aRectangle is some kind of rectangle, and if corner and origin are equal.
-moveBy:aPoint
-printOn:(IOD)aFile