Draws a vertical line in window. The line will be x pixels from the left edge of window, start y1 pixels from the top edge of window, and end y2 pixels from the top edge of window. style will be used to define the style of the line.