Point
A point in 2D.
class Point
Constructor
constructor(x: Float, y: Float)
Creates a new point at the given coordinate.
Properties
x
x: Float { get set }
The x coordinate.
y
y: Float { get set }
The y coordinate.
Methods
to_string
to_string() -> (String)
Returns a string representation of the point.