On this page:
get-x
get-y
set-x
set-y

class

point% : class?

  superclass: object%

A point% is used for certain drawing commands. It encapsulates two real numbers.

constructor

(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.

method

(send a-point get-x)  real?

Gets the point x-value.

method

(send a-point get-y)  real?

Gets the point y-value.

method

(send a-point set-x x)  void?

  x : real?
Sets the point x-value.

method

(send a-point set-y y)  void?

  y : real?
Sets the point y-value.