RegularPolygon

WMA link


RegularPolygon[n]

gives the regular polygon with n edges.

RegularPolygon[r, n]

gives the regular polygon with n edges and radius r.

RegularPolygon[{r, $\phi$}, n]

gives the regular polygon with radius r with one vertex drawn at angle $\phi$.

RegularPolygon[{x, y}, r, n]

gives the regular polygon centered at the position {x, y}.

Rectangle
Show