class Rectangle


Simple rect class

Summary

Public constructors

Public functions

Boolean
contains(x: Int, y: Int)
Int
Int
Unit
setBounds(x: Int, y: Int, width: Int, height: Int)

Public properties

Int
Int
Int
Int

Public constructors

Rectangle

Added in 1.1.0-alpha13
Rectangle()

Public functions

contains

Added in 1.1.0-alpha13
fun contains(x: Int, y: Int): Boolean

getCenterX

Added in 1.1.0-alpha13
fun getCenterX(): Int

getCenterY

Added in 1.1.0-alpha13
fun getCenterY(): Int

setBounds

Added in 1.1.0-alpha13
fun setBounds(x: Int, y: Int, width: Int, height: Int): Unit

Public properties

height

Added in 1.1.0-alpha13
val heightInt

width

Added in 1.1.0-alpha13
val widthInt

x

Added in 1.1.0-alpha13
val xInt

y

Added in 1.1.0-alpha13
val yInt