+newReturns the point (0,0).
+x:(int)xy:(int)yReturns the point (x,y).
-x:(int)xy:(int)yResets the coordinates of an existing point to (x,y).
-x:(int)xResets the xLoc coordinate. Returns the receiver.
-y:(int)yResets the yLoc coordinate. Returns the receiver.
- (int)xReturns xLoc as int value.
- (int)yReturns yLoc as int value.
- (unsigned)hashReturns a hash value based on the values of xLoc and yLoc.
- (BOOL)isEqual:aPointReturns YES if both arguments are instances of Point (or of a subclass of Point) and if they have the same coordinates.
- (BOOL)isBelow:aPointReturns YES if the receiver's y coordinate is greater than the y coordinate of aPoint.
- (BOOL)isAbove:aPointReturns YES if the receiver's y coordinate is less than the y coordinate of aPoint.
- (BOOL)isLeft:aPointReturns YES if the receiver's x coordinate is less than the x coordinate of aPoint.
- (BOOL)isRight:aPointReturns YES if the receiver's x coordinate is greater than the x coordinate of aPoint.
-moveBy:aPointAdds coordinates of aPoint to the receiver. Unlike plus:, this method does not return a new object.
-moveBy:(int)x:(int)yAdds x and y coordinates of aPoint to the receiver. Unlike plus:, this method does not return a new object.
-moveTo:aPointCopies the coordinates of aPoint into the receiver. Typically used for translation.
-plus:aPointThis method is like moveBy: but it returns a new point instance.
-translateBy:aPointThis method is like moveBy: but it returns a new point instance.
-printOn:(IOD)aFilePrints x and y coordinates inside parenthesis.
-fileOutOn:aFilerWrites the point on aFiler. Returns the receiver.
-fileInFrom:aFilerReads the point from aFiler. Returns the receiver.