Why ofPrimitiveMode doesn't have QUADS or POLYGON?

I know that mesh can have some different primitive mode.I just wonder why aren’t there QUADS or POLYGONS? as below image. Do I have to use triangles, lines and points??

Hi,
It was deprecated in openGL at some point several years ago.
cheers