Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
Replaces the contents of the Text object with a new unformatted string.
Text:set( textstring )
string textstring
Nothing.
Text:set( coloredtext )
table coloredtext
{color1, string1, color2, string2, ...}
.
table color1
{red, green, blue, alpha}
.string string1
table color2
{red, green, blue, alpha}
.string string2
tables and strings ...
Nothing.
The color set by love.graphics.setColor will be combined (multiplied) with the colors of the text, when drawing the Text object.
Removed in LÖVE 11.0 |
Use Text:clear instead. |
Clears the contents of the Text object.
Text:set( )
None.
Nothing.