shape_polygon_create
Create a polygon shape on an InDesign page by defining position, size, and number of sides. Customize fill, stroke, and stroke weight.
Instructions
Create a polygon on a page
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| fillColor | No | ||
| pageIndex | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. | |
| strokeColor | No | ||
| strokeWeight | No | ||
| numberOfSides | No |