Draws a triangle with three points using canvas API in the given context.
The canvas context to draw on.
The first point of the triangle.
The second point of the triangle.
The third point of the triangle.
Draws a triangle with three points using canvas API in the given context.