ZBox2D

@Serializable
class ZBox2D(var top: Int = 0, var left: Int = 0, var width: Int = 0, var height: Int = 0)(source)

Represents a 2D box with top, left, width, and height properties.

Constructors

Link copied to clipboard
constructor(top: Int = 0, left: Int = 0, width: Int = 0, height: Int = 0)

Properties

Link copied to clipboard
var height: Int

The height of the box.

Link copied to clipboard
var left: Int

The left coordinate of the box.

Link copied to clipboard
var top: Int

The top coordinate of the box.

Link copied to clipboard
var width: Int

The width of the box.