Point

data class Point(val x: Double, val y: Double)

A 2D point in pixel coordinates (origin top-left, y grows downwards).

Constructors

Link copied to clipboard
constructor(x: Double, y: Double)

Properties

Link copied to clipboard
val x: Double
Link copied to clipboard
val y: Double

Functions

Link copied to clipboard
fun distanceTo(other: Point): Double