|
fun Container.text(x: Number = 0, y: Number = 0, text: String = "Text", size: Number = 16.0, color: RGBA = Colors.RED, font: BitmapFont = BitmapFont(DefaultTtfFont, size, paint = ColorPaint(color)), horizontalAlign: HorizontalAlign = HorizontalAlign.LEFT, verticalAlign: VerticalAlign = VerticalAlign.BOTTOM, callback: Text.() -> Unit = {}): Text |
|
fun Container.textbutton(x: Number = 100.0, y: Number = 100.0, width: Number = 256.0, height: Number = 32.0, text: String = "Button", active: Boolean = true, skin: UISkin = DefaultUISkin, font: FontFace = DefaultUIFont, action: suspend () -> Unit = {}, callback: TextButton.() -> Unit = {}): TextButton |