CanvasIO.drawTriangle

Draw a triangle, consisting of 3 vertices with counter-clockwise winding.

interface CanvasIO
final nothrow
void
drawTriangle

Parameters

a Vector2

First of the three points to connect.

b Vector2

Second of the three points to connect.

c Vector2

Third of the three points to connect.

color Color

Color to fill the triangle with.

Meta