# POLYGON Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [P](Help%20System/GSTARCAD/2027/Commands/P/(P).md)
## Function Description:
This command is used to create an equilateral closed polyline. You specify the number of sides of the polygon and whether it is inscribed or circumscribed.
## Command Access:
> **Icon:** 
> **Menu:** Draw > Polygon
> **Ribbon:** Home > Draw > Polygon
> **Toolbar:** Draw > Polygon
> **Command:** POLYGON
> **Alias:** POL
## Command Prompts:
```
Enter number of sides <4>:
Specify center of polygon or [Edge]:
```
## **Number of sides**
Specifies the number of sides in the polygon (3-1024).
## **Center of polygon**
Specifies the center of the polygon and whether the new object is inscribed or circumscribed.
- **Inscribed in circle:** Specifies the radius of a circle, all vertices of the polygon are on the inscribed circle. Users can use cursor to specify the radius and rotated angle. The equilateral polygon is created by snapped current angle and radius.
- **Circumscribed about circle:** Specifies the distance from the center of the polygon to the midpoints of the edges of the polygon. Users can use cursor to specify the radius and rotated angle. The equilateral polygon is created by snapped current angle and radius.
## **Edge**
Defines a polygon by specifying two endpoints of the first edge.

---
**Related References:**
- [Commands about Linear Geometric Objects (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Linear%20Geometric%20Objects.md)
**Related Tasks:**
- [To Draw Polylines (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Draw%20Polylines.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_P/POLYGON.html) · © Gstarsoft Co., Ltd.