---
title: "ShapeMarkup.Shape.regularPolygon(_:)"
framework: paperkit
role: symbol
role_heading: Case
path: "paperkit/shapemarkup/shape-swift.enum/regularpolygon(_:)"
---

# ShapeMarkup.Shape.regularPolygon(_:)

A regular polygon with equal sides and angles.

## Declaration

```swift
case regularPolygon(ShapeMarkup.Shape.RegularPolygon)
```
