Text:set

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.

Function

Synopsis

Text:set( textstring )

Arguments

string textstring
The new string of text to use.

Returns

Nothing.

Function

Clears the contents of the Text object.

Synopsis

Text:set( )

Arguments

None.

Returns

Nothing.

See Also

Other Languages