CanvasIO.drawTriangleImpl

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

interface CanvasIO
protected nothrow
void
drawTriangleImpl

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