Text: Difference between revisions

From Crumbled World Wiki
(Created page with "{{:LabelExampleCode}} ==Constructor== {| class="wikitable" !|function !|description |- |Text() | |- |Text(string text) | |- |Text(Text text) | |- |} ==Functions== {| class="wikitable" !|return !|function !|description |- |string |toString() |Get string. |- |int |length() |Get text length. |- |Vec2 |getTextScale() |Get text scale. |- |Vec2 |Text:getTextScale(bool parseText)|getTextScal...")
 
(No difference)

Latest revision as of 14:27, 5 July 2025

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.