The Polygon Tool lets you draw a polygon vector. You can change the number of sides in the polygon in the options bar, and also choose whether or not it should be a star polygon.
When you draw a polygon, its stroke color is the current primary color and its fill color is the current secondary color.