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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
