> For the complete documentation index, see [llms.txt](https://mrwheel-docs.gitbook.io/yappgenerator_en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mrwheel-docs.gitbook.io/yappgenerator_en/cutouts/optional-parameters/n-a-polygon-definition.md).

# n(a) = Polygon Definition

```
n(a) = { yappPolygonDef } : Required if shape = yappPolygon specified
```

* Predefined Shapes:"
* shapeIsoTriangle - An Isosceles triangle. Note the width is equal to the bounding width but the height is less.
* shapeIsoTriangle2 - an Isosceles triangle with the center at the center of the bounding box.
* shapeHexagon - a hexagon centered in the bounding rectangle.
* shape6ptStar - a 6 pointed star centered in the bounding rectangle.
* &#x20;shapeTriangle - triangle with height and width matching the bounding rectangle but centered in the rectangle.
* shapeTriangle2- triangle with height and width matching the bounding rectangle. At 90 degree increments the base of the triangle aligns with the bounding box.&#x20;
* shapeArrow - Home plate shaped arrow. Useful for buttons.

<figure><img src="/files/ph2NEzjGIWWrdtYxKz6A" alt=""><figcaption><p>20x20 shapes with the bounding rectangle in pink.</p></figcaption></figure>

Notice how the center affects the rotation of the shapes.

see [Polygon Definition](/yappgenerator_en/advanced-options/polygon-definitions.md) to create your own polygons.
