Point

class Point @JvmOverloads constructor(var x: Double = 0.0, var y: Double = 0.0)

Constructors

Link copied to clipboard
@JvmOverloads
constructor(x: Double = 0.0, y: Double = 0.0)
constructor(p: Point)

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun move(x: Double, y: Double)
Link copied to clipboard
fun set(p: Point)
fun set(x: Double, y: Double)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun translate(dx: Double, dy: Double)