Draws a line between two points using canvas API in the given context.
The canvas context to draw on.
The start point of the line.
The end point of the line.
Draws a line between two points using canvas API in the given context.