Difference between revisions of "love.graphics.polygon"

m (1 revision: Importing from potato (again).)
m
Line 1: Line 1:
 +
Draw a polygon.
  
Draw a polygon.
+
''Note: when in '''fill''' mode, the polygon must be convex or rendering artifacts may occur.''
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 00:55, 11 March 2010

Draw a polygon.

Note: when in fill mode, the polygon must be convex or rendering artifacts may occur.

Function

Synopsis

love.graphics.polygon( mode, ... )

Arguments

DrawMode mode
How to draw the polygon.
numbers ...
The vertices of the polygon.

Returns

Nothing.

See Also