mojo.graphics.Canvas.DrawPoly - nitrologic/monkey2 GitHub Wiki
mojo::mojo.graphics.mojo.graphics.Canvas.DrawPoly
monkey:monkey.types.Float[] )
Method DrawPoly:Void( vertices:Draws a polygon.
Draws a polygon using the current Color, BlendMode and Matrix.
The vertices
array must be at least 2 elements long
Parameters | |
---|---|
vertices |
vertices Array of x/y vertex coordinate pairs. |