Alignment

lumin.ui. Alignment

Struct containing both horizontal and vertical alignment information for UI elements.

Constructor

new Alignment(v, h)

Parameters:
Name Type Description
v lumin.ui.VerticalAlignment
h lumin.ui.HorizontalAlignment

Members

(static, constant) BOTTOM_CENTER :lumin.ui.Alignment

Type:

(static, constant) BOTTOM_LEFT :lumin.ui.Alignment

Type:

(static, constant) BOTTOM_RIGHT :lumin.ui.Alignment

Type:

(static, constant) CENTER_CENTER :lumin.ui.Alignment

Type:

(static, constant) CENTER_LEFT :lumin.ui.Alignment

Type:

(static, constant) CENTER_RIGHT :lumin.ui.Alignment

Type:

horizontal :lumin.ui.HorizontalAlignment

Type:

(static, constant) TOP_CENTER :lumin.ui.Alignment

Type:

(static, constant) TOP_LEFT :lumin.ui.Alignment

Type:

(static, constant) TOP_RIGHT :lumin.ui.Alignment

Type:

vertical :lumin.ui.VerticalAlignment

Type:

Methods

equals(rhs) → {boolean}

Parameters:
Name Type Description
rhs lumin.ui.Alignment
Returns:
Type
boolean