Text:set

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 Synopsis Text:set( coloredtext ) Arguments table coloredtext A table containing colors and strings to use as the new text, in the form of {color1, string1, color2, string2, ...}. table color1 A table c

Text:setf

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. Function Synopsis Text:setf

Text:setFont

Text:setFont Available since LÖVE 0.10.0 This function is not supported in earlier versions. Replaces the Font used with the text. This function can be slow if it is called repeatedly, such as from love.update or love.draw. Create multiple Text objects with different Fonts if you need to rapidly switch fonts. Function Synopsis Text:setFont( font ) Arguments Font font The new font to use with this Text object. Returns Nothing. See Also Text Text:getFont

Thread:demand

Thread:demand Available since LÖVE 0.7.0 and removed in LÖVE 0.9.0 It has been moved to the Channel API. Receive a message from a thread. Wait for the message to exist before returning. (Can return nil in case of an error in the thread.) Function Synopsis value = Thread:demand( name ) Arguments string name The name of the message. Returns Variant value The contents of the message. See Also Thread

Thread:get

Thread:get Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been moved to the Channel api. Retrieves the value of a message and removes it from the thread's message box. Function Synopsis value = Thread:get( name ) Arguments string name The name of the message. Returns Variant value The contents of the message or nil when no message in message box. See Also Thread Thread:set

Thread:getError

Thread:getError Available since LÖVE 0.9.0 This function is not supported in earlier versions. Retrieves the error string from the thread if it produced an error. Function Synopsis value = Thread:getError( ) Arguments None. Returns string value The error message. See Also Thread love.threaderror

Thread:getKeys

Thread:getKeys Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 This method is not supported in earlier or later versions. Returns a table with the names of all messages in the message box. Function Synopsis msgNames = Thread:getKeys() Arguments None. Returns table msgNames A sequence with all the message names. See Also Thread

Thread:getName

Thread:getName Available since LÖVE 0.7.0 and removed in LÖVE 0.9.0 This function is not supported in earlier or later versions. Get the name of a thread. Function Synopsis name = Thread:getName( ) Arguments None. Returns string name The name of the thread. See Also Thread

Thread:isRunning

Thread:isRunning Available since LÖVE 0.9.0 This function is not supported in earlier versions. Returns whether the thread is currently running. Threads which are not running can be (re)started with Thread:start. Function Synopsis running = Thread:isRunning( ) Arguments None. Returns boolean value True if the thread is running, false otherwise. See Also Thread Thread:start

Thread:kill

Thread:kill Available since LÖVE 0.7.0 and removed in LÖVE 0.8.0 This method is not supported in earlier or later versions. Forcefully terminate the thread. This function terminates the thread wherever it is, which is capable of locking the game, or doing anything evil for that matter, its use is strongly discouraged. Function Synopsis Thread:kill( ) Arguments None. Returns None. See Also Thread