//Spheroid Script/spheroid.client.ui/Container
Container
See also Container in UI Guide
class Container : BorderProperties, Placeable
Constructors
| Name | Summary |
|---|---|
| <init> | fun <init>(backgroundColor: Color?, rotation: Angle?, borderWidth: Size?, borderColor: Color?, cornerRadius: Size?, left: Size?, top: Size?, right: Size?, bottom: Size?, width: Size?, height: Size?, horizontalAlign: String?, verticalAlign: String?, isVisible: Boolean?) |
Functions
| Name | Summary |
|---|---|
| onClick | fun onClick(callback: () -> Unit) |
| toString | fun toString(): String |
Properties
| Name | Summary |
|---|---|
| backgroundColor | var backgroundColor: Color? |
| borderColor | var borderColor: Color? |
| borderWidth | var borderWidth: Size? |
| bottom | var bottom: Size? |
| cornerRadius | var cornerRadius: Size? |
| height | var height: Size? |
| horizontalAlign | Available values: “left”, “center”, “right” var horizontalAlign: String? |
| isVisible | var isVisible: Boolean? |
| left | var left: Size? |
| right | var right: Size? |
| rotation | var rotation: Angle? |
| top | var top: Size? |
| verticalAlign | Available values: “top”, “center”, “bottom” var verticalAlign: String? |
| width | var width: Size? |