Text

From Crumbled World Wiki

LabelExampleCode


Constructor

function description
Text()
Text(string text)
Text(Text text)

Functions

return function description
string toString() Get string.
int length() Get text length.
Vec2 getTextScale() Get text scale.
Vec2 getTextScale(bool parseText) Get text scale.

If parseText is false then text scale will include all tags also.