HudElementsBuilderDelegate
class HudElementsBuilderDelegate(val gl: <Error class: unknown class>, val disposables: <Error class: unknown class>) : HudElementsBuilder
Content copied to clipboard
Concrete builder of HUD elements to be used as a delegate by other builders.
Constructors
Link copied to clipboard
Creates a new HUD elements builder delegate from given parent HUD elements builder.
Link copied to clipboard
fun HudElementsBuilderDelegate(gl: <Error class: unknown class>, disposables: <Error class: unknown class>)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun column( position: <Error class: unknown class>, alignment: HorizontalAlignment, spacing: Float, onInputEvent: (event: Any?) -> Boolean?, init: HudElementsBuilder.() -> Unit): ColumnLayout
Content copied to clipboard
Creates a column layout.
Link copied to clipboard
open override fun row( position: <Error class: unknown class>, alignment: VerticalAlignment, spacing: Float, onInputEvent: (event: Any?) -> Boolean?, init: HudElementsBuilder.() -> Unit): RowLayout
Content copied to clipboard
Creates a row layout.
Link copied to clipboard
open override fun stack( position: <Error class: unknown class>, alignment: Alignment, onInputEvent: (event: Any?) -> Boolean?, init: HudElementsBuilder.() -> Unit): StackLayout
Content copied to clipboard
Creates a stack layout.
Link copied to clipboard
open override fun table( position: <Error class: unknown class>, columns: List<TableLayout.Column>, columnsSpacing: Float, rowsSpacing: Float, onInputEvent: (event: Any?) -> Boolean?, init: HudElementsBuilder.() -> Unit): TableLayout
Content copied to clipboard
Creates a table layout
Link copied to clipboard
open override fun text( text: String, font: Font, color: <Error class: unknown class>, padding: Padding, width: Int, height: Int, position: <Error class: unknown class>, onInputEvent: (event: Any?) -> Boolean?, init: QuadBuilder.() -> Unit): Quad
Content copied to clipboard
Creates a quad containing text.
Link copied to clipboard
open override fun withTransformation( translation: () -> <Error class: unknown class>, rotation: () -> <Error class: unknown class>, scale: () -> <Error class: unknown class>, init: HudElementsBuilder.() -> Unit): TransformationWrapper
Content copied to clipboard
Transforms an element defined in the init block.
Link copied to clipboard
open override fun withVisibility(visibility: () -> Boolean, init: HudElementsBuilder.() -> Unit): VisibilityWrapper
Content copied to clipboard
Sets visibility of an element defined in the init block.