mojo:mojo.graphics.Canvas.DrawTriangle

Method DrawTriangle:Void( x0:Float,y0:Float,x1:Float,y1:Float,x2:Float,y2:Float )
Method DrawTriangle:Void( v0:std.geom.Vec2f,v1:std.geom.Vec2f,v2:std.geom.Vec2f )

Draws a triangle.

Draws a triangle in the current Color using the current BlendMode.

The triangle vertex coordinates are also transform by the current Matrix.