love.graphics.draw( sprite, x, y, angle, s )
Usage
love.graphics.draw( sprite, x, y, angle, s )
Arguments
xThe position on the x-axis.
yThe position on the y-axis.
angleThe angle of rotation (in degrees).
sThe scale factor.
Returns
Nothing
Examples
Example 1: Draw an image rotated and scaled.
image = love.graphics.newImage("image.png")
love.graphics.draw(image, 50, 50, 20, 1) -- rotation, normal scale
love.graphics.draw(image, 50, 50, 0, 2) -- normal rotation, twice as big
love.graphics.draw(image, 50, 50, 20, 0.5) -- rotation, half scale