# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mrwheel-docs.gitbook.io/yappgenerator_en/cutouts/optional-parameters/n-a-polygon-definition.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
