love.graphics.rectangle( x, y, w, h )
Usage
love.graphics.rectangle( x, y, w, h )
Arguments
xX-coordinate of top-left corner.
yY-coordinate of top-left corder.
wWidth of the rectangle.
hHeight of the rectangle.
Returns
Nothing
Examples
Example 1: Draw a rectangle.
function draw()
-- Draws a 100px wide, 200px high rectangle at (50, 50).
love.graphics.rectangle(love.draw_fill, 50, 50, 100, 200)
end