def line(self, x1, y1, x2, y2, color="<STR_LIT>", width=<NUM_LIT:1>):
return self.tk.create_line(<EOL>x1, y1, x2, y2, <EOL>width = width,<EOL>fill = "<STR_LIT>" if color is None else utils.convert_color(color)<EOL>)<EOL>
Draws a line between 2 points

:param int x1:
    The x position of the starting point.

:param int y1:
    The y position of the starting point.

:param int x2:
    The x position of the end point.

:param int y2:
    The y position of the end point.

:param str color:
    The color of the line. Defaults to `"black"`.

:param int width:
    The width of the line. Defaults to `1`.

:return:
    The id of the line.