Function
love.graphics.rectangle( mode, x, y, width, height )
Draws a rectangle.
Synopsis
love.graphics.rectangle( mode, x, y, width, height )
Parameters
mode DrawMode How to draw the rectangle.
x number The position of top-left corner along x-axis.
y number The position of top-left corner along y-axis.
width number Width of the rectangle.
height number Height of the rectangle.
Copyright © 2006-2010 LÖVE Development Team.