mojo.graphics.Canvas.DrawPolys - nitrologic/monkey2 GitHub Wiki
mojo::mojo.graphics.mojo.graphics.Canvas.DrawPolys
monkey:monkey.types.Int,count:monkey:monkey.types.Int,vertices:monkey:monkey.types.Float[] )
Method DrawPolys:Void( order:Draws a sequence of polygons.
Draws a sequence of polygons using the current Color, BlendMode and Matrix.
Parameters | |
---|---|
order |
order The type of polygon: 3=triangles, 4=quads, >4=n-gons. |
count |
count The number of polygons. |
vertices |
vertices Array of x/y vertex coordinate pairs. |