BoundingBox

data class BoundingBox(    val left: Float,     val right: Float,     val top: Float,     val bottom: Float)

Bounding box of an element of HUD.

Constructors

Link copied to clipboard
fun BoundingBox(    left: Float,     right: Float,     top: Float,     bottom: Float)

Functions

Link copied to clipboard
operator fun contains(point: <Error class: unknown class>): Boolean

Returns true if given point is inside this bounding box.

Properties

Link copied to clipboard
val bottom: Float

Y coordinate of the bottom side of this bounding box.

Link copied to clipboard
val height: Float

Height of this bounding box.

Link copied to clipboard
val left: Float

X coordinate of the left side of this bounding box.

Link copied to clipboard
val midpoint: <Error class: unknown class>

Midpoint of this bounding box.

Link copied to clipboard
val right: Float

X coordinate of the right side of this bounding box.

Link copied to clipboard
val top: Float

Y coordinate of the top side of this bounding box.

Link copied to clipboard
val width: Float

Width of this bounding box.