Connected Lines and Polygon
Click and drag to draw connected lines. The polygon tool is used in the same way, however, the start and end points are automatically connected to form a polygon.
Themouse button draws in the foreground color. The mouse button draws in the background color, and will also reverse the fill color for polygons.
You can set the line width. For polygons, you can also set the fill style.