Difference between revisions of "love.graphics.print"
m (1 revision: Imported docs from potato.) |
|
(No difference)
|
Revision as of 15:54, 14 February 2010
Function
Synopsis
love.graphics.print( text, x, y, r, sx, sy )
Arguments
string text
- The text to draw.
number x
- The position to draw the object (x-axis).
number y
- The position to draw the object (y-axis).
number r (0)
- Orientation (radians).
number sx (1)
- Scale factor (x-axis).
number sy (sx)
- Scale factor (y-axis).
Returns
Nothing.
Examples
A lame example
function love.draw()
love.graphics.print("This is a pretty lame example.", 10, 200)
end