Dimensions

data class Dimensions(val width: Int, val height: Int)(source)

A dimension in 2D space.

Dimensions are defined as a rectangular bounding box with a width and a height.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int)

Properties

Link copied to clipboard
val height: Int

The vertical dimension

Link copied to clipboard
val width: Int

The horizontal dimension