Rectangle

interface Rectangle

Inheritors

Properties

Link copied to clipboard
abstract val h: Int
Link copied to clipboard
abstract val w: Int
Link copied to clipboard
abstract val x: Int
Link copied to clipboard
abstract val y: Int

Functions

Link copied to clipboard
open fun contains(x: Int, y: Int): Boolean
Link copied to clipboard

Returns whether the rectangle is adjacent or overlaps with the other.