love.graphics.newText
Creates a new drawable Text object.
text = love.graphics.newText( font, textstring )
font Font The font to use for the text.
textstring (nil) string The initial string of text that the new Text object will contain. May be nil.
text Text The new drawable Text object.
text = love.graphics.newText( font, coloredtext )
font Font The font to use for the text.
coloredtext table A table containing colors and strings to add to the object, in the form of {color1, string1, color2, string2, ...}.
coloredtext.color1 table A table containing red, green, blue, and optional alpha components to use as a color for the next string in the table, in the form of {red, green, blue, alpha}.
coloredtext.string1 string A string of text which has a color specified by the previous color.
coloredtext.color2 table A table containing red, green, blue, and optional alpha components to use as a color for the next string in the table, in the form of {red, green, blue, alpha}.
coloredtext.string2 string A string of text which has a color specified by the previous color.
coloredtext.... Variant Additional colors and strings.
text Text The new drawable Text object.