|
|
Function
love.graphics.quad( type, x1, y1, x2, y2, x3, y3, x4, y4 )
Note: When drawing a filled quadrilateral, the coordinates must be passed in a counter-clockwise order.
Synopsis
love.graphics.quad( type, x1, y1, x2, y2, x3, y3, x4, y4 )
Arguments
type
The type of quad (outline/filled).
x1
First x-coordinate.
y1
First y-coordinate.
x2
Second x-coordinate.
y2
Second y-coordinate.
x3
Third x-coordinate.
y3
Third y-coordinate.
x4
Fourth x-coordinate.
y4
Fourht y-coordinate.
Returns
(Nothing)
Copyright © 2006-2008 LÖVE Development Team.
|