Rect

data class Rect(x: Double, y: Double, width: Double, height: Double)

Rectangle.

Constructors

Rect
Link copied to clipboard
fun Rect(x: Double, y: Double, width: Double, height: Double)

Properties

height
Link copied to clipboard
val height: Double
Rectangle height
width
Link copied to clipboard
val width: Double
Rectangle width
x
Link copied to clipboard
val x: Double
X coordinate
y
Link copied to clipboard
val y: Double
Y coordinate

Sources

jvm source
Link copied to clipboard