Point

final case
class Point(x: Int, y: Int)
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def *(pt: Point): Point
def *(i: Int): Point
def +(pt: Point): Point
def +(i: Int): Point
def -(pt: Point): Point
def -(i: Int): Point
def /(pt: Point): Point
def /(i: Int): Point
def abs: Point
def clamp(min: Int, max: Int): Point
def distanceTo(other: Point): Double
def max(other: Point): Point
def max(value: Int): Point
def min(other: Point): Point
def min(value: Int): Point
def moveBy(amount: Point): Point
def moveBy(x: Int, y: Int): Point
def moveTo(newPosition: Point): Point
def moveTo(x: Int, y: Int): Point
def rotateBy(angle: Radians): Point
def rotateBy(angle: Radians, origin: Point): Point
def rotateTo(angle: Radians): Point
def withX(newX: Int): Point
def withY(newY: Int): Point

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product