love.graphics.print( text, x, y, r, sx, sy )
Draws text on screen. If no Font is set, one will be created and set (once) if needed.
Synopsis
love.graphics.print( text, x, y, r, sx, sy )
Parameters
text |
string |
The text to draw. |
x |
number |
The position to draw the object (x-axis). |
y |
number |
The position to draw the object (y-axis). |
r = 0 |
number |
Orientation (radians). |
sx = 1 |
number |
Scale factor (x-axis). |
sy = sx |
number |
Scale factor (y-axis). |
Examples
A lame example
function love.draw()
love.graphics.print("This is a pretty lame example.", 10, 200)
end