shape_create
Create geometric shapes—rectangles, ellipses, polygons, or lines—on an InDesign page by giving bounds, fill and stroke colors, and a page index.
Instructions
Create a geometric shape (rectangle, ellipse, polygon, line)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| bounds | Yes | ||
| fillColor | No | ||
| pageIndex | Yes | ||
| layerIndex | No | ||
| 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 |