Text:setf
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 formatted string.
Function
Synopsis
Text:setf( textstring, wraplimit, alignmode )
Arguments
string textstring
- The new string of text to use.
number wraplimit
- The maximum width in pixels of the text before it gets automatically wrapped to a new line.
AlignMode align ("left")
- The alignment of the text.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info