Space

class Space(var width: Float = 0.0f, var height: Float = 0.0f) : BaseHudElement

Empty space element of HUD.

Constructors

Link copied to clipboard
constructor(width: Float = 0.0f, height: Float = 0.0f)

Functions

Link copied to clipboard

Adds given input events listener to this element.

Link copied to clipboard
open override fun handleInputEvent(position: <Error class: unknown class><Float>, event: Any?): Boolean

Handles given input event at given position.

Link copied to clipboard

Removes given input events listener from this element.

Properties

Link copied to clipboard
open override val atoms: Iterable<HudAtom>

Empty list of atoms.

Link copied to clipboard
open override val boundingBox: BoundingBox

Bounding box of this space.

Link copied to clipboard

Space height.

Link copied to clipboard
open override var isVisible: Boolean

true if this element is visible.

Link copied to clipboard
open override var position: <Error class: unknown class><Float>

Position of this element.

Link copied to clipboard

Space width.