Rect

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

Rectangle.

Constructors

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

Properties

Link copied to clipboard

Rectangle height

Link copied to clipboard

Rectangle width

Link copied to clipboard
val x: Double

X coordinate

Link copied to clipboard
val y: Double

Y coordinate