TransformationWrapper

class TransformationWrapper(    element: HudElement,     translationProvider: () -> <Error class: unknown class>,     rotationProvider: () -> <Error class: unknown class>,     scaleProvider: () -> <Error class: unknown class>) : BaseHudElementWrapper

Transformation wrapper for element of HUD.

Constructors

Link copied to clipboard
fun TransformationWrapper(    element: HudElement,     translationProvider: () -> <Error class: unknown class>,     rotationProvider: () -> <Error class: unknown class>,     scaleProvider: () -> <Error class: unknown class>)

Functions

Link copied to clipboard
open override fun addInputEventListener(listener: HudElement.InputEventListener)

Adds given input events listener to the wrapped element.

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

Handles given input event at given position.

Link copied to clipboard
open override fun removeInputEventListener(listener: HudElement.InputEventListener)

Removes given input events listener from the wrapped element.

Properties

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

Atoms making up the transformed element.

Link copied to clipboard
open override val boundingBox: BoundingBox

Bounding box of the transformed element.

Link copied to clipboard
open override var isVisible: Boolean

true the wrapped element is visible.

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

Position of the transformed element.