Skip to main content

Point

A point in 2D.

class Point

Constructors

(x: Float, y: Float)

Creates a new point at the given coordinate.

Properties

x: Float (get/set)

The x coordinate.

y: Float (get/set)

The y coordinate.

Methods

to_string() -> (String)

Returns a string representation of the point.