This commit is contained in:
Insality
2025-03-06 00:27:51 +02:00
parent 9bb7c6e8bd
commit 1a138f7020
53 changed files with 367 additions and 81 deletions

View File

@@ -0,0 +1,17 @@
# Text Quick API reference
```lua
text:init(node, [value], [adjust_type])
text:get_text()
text:get_text_index_by_width(width)
text:get_text_size([text])
text:is_multiline()
text:on_layout_change()
text:on_style_change(style)
text:set_alpha(alpha)
text:set_color(color)
text:set_pivot(pivot)
text:set_scale(scale)
text:set_size(size)
text:set_text(new_text)
text:set_text_adjust([adjust_type], [minimal_scale])