Use the gesture detection to draw polygons as well.