The polygon object can be any shape that has at least three sides and allows for a wide variety of common shapes to be stored in vector form. The example above is a pentagon but a polygon could be ...
For a shape with more sides, such as a hexagon, it would be necessary to define polygon points for each angle in the object. There are many ways to identify a colour when creating vector graphics.