How to use Custom Ploygon to draw a circle and rectangle

Only if you give it a list of vertices.