Bounds

@JsonClass(generateAdapter = true)
data class Bounds(@Json(name = "x") val x: Int, @Json(name = "y") val y: Int, @Json(name = "width") val width: Int, @Json(name = "height") val height: Int) : Representable

Data class representing Bounds, conforming to Representable.

Constructors

Link copied to clipboard
constructor(@Json(name = "x") x: Int, @Json(name = "y") y: Int, @Json(name = "width") width: Int, @Json(name = "height") height: Int)

Properties

Link copied to clipboard
val height: Int

The height of the bounds

Link copied to clipboard
val width: Int

The width of the bounds

Link copied to clipboard
val x: Int

The X-coordinate of the bounds

Link copied to clipboard
val y: Int

The Y-coordinate of the bounds