UISystem. UIText

UIText - A UI object that displays text

Constructor

new UIText(posopt, sizeopt, textopt, alignopt, fontopt)

Create a UIText object

Parameters:
NameTypeAttributesDefaultDescription
posVector2<optional>
sizeVector2<optional>
textstring<optional>
alignstring<optional>
center
fontstring<optional>
uiSystem.defaultFont

Extends

  • UIObject