Glade Reference
A Point class represents a coordinate or xy pair.
Creates a Point object p. The Point is initialised to (0, 0) by default.
Creates a Point object and initialises its coordinates.
Get the specified Point coordinate.
Set the specified Point coordinate.
Returns true if the two Points are equal.
Returns true if the two Points are not equal.
Returns true if the first point is 'less than' the second. First the X coordinate is compared; if equal then the Y coordinate is compared.
Returns true if the first point is 'greater than' the second. First the X coordinate is compared; if equal then the Y coordinate is compared.
A Point plus a Vector returns a Point transposed by the Vector.
A Point plus a Point returns a Point transposed by the Point.
A Point minus a Point returns a Vector.
A Point minus a Vector returns a Point transposed by the Vector.
A Point plus a scalar (i.e. an integer) is offset, or moved, by the value of the scalar in both X and Y.
A Point plus a Point returns a Point with the sum of the two Points X and Y values.
A Point minus a Point returns a Point with the differrence of the two Points X and Y values.
A Point times a scalar is scaled (multiplied) by the scalar.
Copyright © Peardrop Design 2024.