BoundingBox

data class BoundingBox(val width: Size, val height: Size)

A generic bounding box with a width and a height.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard

A 90-degrees rotated version of this bounding box, which happens to be a new BoundingBox with the height and width swapped.

Link copied to clipboard
val width: Size