Draw polyline with mosuse clicks. Every click adds a point in polyline.
Right click clears the canvas.