mojo.graphics.Canvas.DrawPoly - nitrologic/monkey2 GitHub Wiki
mojo::mojo.graphics.mojo.graphics.Canvas.DrawPoly
Method DrawPoly:Void( vertices:monkey:monkey.types.Float[] )
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. |