Add opacity to _draw_line2d.