love.graphics.polygon

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