LittleJS 1.30.1

UISystem

UIText

UIText - A UI object that displays text

Extends UIObject

Constructor

new UIText(pos, size, text, align, font)uiSystem.js:1352

Create a UIText object

pos Vector2 optional
size Vector2 optional
text string optional
align 'left'|'center'|'right' optional, default center
font string optional, default uiSystem.defaultFont

Members

Inherited from UIObject

Members

gradientColor : Color|undefineduiSystem.js:1382
text : stringuiSystem.js:1371

The text shown