Function
love.graphics.quad( mode, x1, y1, x2, y2, x3, y3, x4, y4 )
Draws a quadrilateral.
Synopsis
love.graphics.quad( mode, x1, y1, x2, y2, x3, y3, x4, y4 )
Parameters
mode DrawMode How to draw the quadrilateral.
x1 number The position of first point on the x-axis.
y1 number The position of first point on the y-axis.
x2 number The position of second point on the x-axis.
y2 number The position of second point on the y-axis.
x3 number The position of third point on the x-axis.
y3 number The position of third point on the y-axis.
x4 number The position of fourth point on the x-axis.
y4 number The position of fourth point on the y-axis.
Copyright © 2006-2009 LÖVE Development Team.