The example above is a pentagon but a polygon ... Rectangle is actually a type of polygon but given the frequency of its use, most vector graphic file formats support a specific rectangle object.
In the most common vector graphic file format (SVG), the default ... polygon points = “x1,y1 x2,y2, x3,y3” The above example would create a triangle by connecting lines between the three ...