Point

class Point(x: Int, y: Int) : Validatable

Types

Companion
Link copied to clipboard
object Companion

Functions

distance
Link copied to clipboard
fun distance(pt: Point): Int
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
translate
Link copied to clipboard
fun translate(dx: Int, dy: Int)
valid
Link copied to clipboard
open override fun valid(): Boolean

Properties

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