| return
|
function
|
description
|
| Vec2
|
getTextSize()
|
|
|
|
setAnchor(Anchor anchor)
|
|
|
|
setAlignment(Alignment alignment)
|
Set text height in pixel.
|
|
|
setTextHeight(float textHeight)
|
Set text height in pixel.
|
|
|
setParseText(bool parseText)
|
Set if tags should be parsed example: bold text
|
|
|
setColor(Vec3 color)
|
set text color
|
|
|
setColor(Vec4 color)
|
set text color
|
|
|
setText(string text)
|
|
|
|
setText(Text text)
|
|
|
|
setSize(Vec2 nodeSize)
|
Text areas containment size in pixel.
|
|
|
setSize(Vec2i nodeSize)
|
Text areas containment size in pixel.
|