Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

AuRea 1.0.2

class AuRow(margin: AuInsets = AuInsets()) : AuWidget

A widget that arranges its children horizontally.

Parameters

margin

The margin around the children.

Constructors

constructor(margin: AuInsets = AuInsets())

Properties

open override val contentHeight: Float

The height of the widget excluding margins.

open override val contentWidth: Float

The width of the widget excluding margins.

The list of widgets to be arranged horizontally.

Inherited properties

val height: Int

The height of the widget including margins.

val width: Int

The width of the widget including margins.

Functions

open override fun draw(canvas: AuCanvas, x: Float, y: Float)

Draws the widget on the given canvas at the specified position.

Inherited functions

fun buildObject(trans: Mat4f, pixelsPerMeters: Float = 10000.0f): AuObject

Builds a textured 3D object from this widget.