Draws a line on the current context from the starting coordinates to the ending coordinates using the specified options.
| x1 |
starting X coordinate |
| y1 |
starting Y coordinate |
| x2 |
ending X coordinate |
| y2 |
ending Y coordinate |
| o |
the options |