openrndr / org.openrndr.shape / IntRectangle

IntRectangle

data class IntRectangle (source)

Constructors

<init>

IntRectangle(x: Int, y: Int, width: Int, height: Int)
IntRectangle(corner: IntVector2, width: Int, height: Int)

Properties

area

val area: Int

center

val center: IntVector2

corner

val corner: IntVector2

height

val height: Int

rectangle

val rectangle: Rectangle

width

val width: Int

x

val x: Int

y

val y: Int