Version: 4.1.5
point% : class? |
superclass: object% |
A point% is used for certain drawing commands. It encapsulates two real numbers.
(make-object point%) → (is-a?/c point%) |
(make-object point% x y) → (is-a?/c point%) |
x : real? |
y : real? |
Creates a point. If x and y are not supplied, they are set to 0.
(send a-point get-x) → real? |
Gets the point x-value.
(send a-point get-y) → real? |
Gets the point y-value.
(send a-point set-x x) → void? |
x : real? |
Sets the point x-value.
(send a-point set-y y) → void? |
y : real? |
Sets the point y-value.