Point
Point inherits from Number and defines instance variables x, y. It has no subclasses.
A Point is a x,y value pair, usually used for representing the positions of graphics objects.
Methods defined in Point:
Methods for accessing:
- x
- x: newX
- x: newX y: newY
- y
- y: newY
Methods for arithmetic:
- - number
- * number
- / number
- // number
punt on the double dispatching stuff...
- + number
Methods for comparing:
Methods for double dispatching:
- addToPoint: point
- coerce: number
- divideIntoPoint: point
- equalToPoint: point
- generality
- greaterThanPoint: point
- multiplyByPoint: point
- subtractFromPoint: point
Methods for instance creation:
Methods for math functions:
Methods for printing:
Pocket Smalltalk Documentation