Adobe Illustrator · Schema
PathItemCreate
PathItemCreate from Adobe Illustrator API
Creative CloudDesignIllustratorVector Graphics
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Name of the path item. |
| pathType | string | Type of path to create. |
| pathPoints | array | Array of path points for freeform paths. Required when pathType is "freeform". |
| position | array | Position [x, y] in points. |
| width | number | Width in points (for rectangle, ellipse). |
| height | number | Height in points (for rectangle, ellipse). |
| cornerRadius | number | Corner radius for rounded rectangle. |
| sides | integer | Number of sides for polygon. |
| points | integer | Number of points for star. |
| innerRadius | number | Inner radius for star. |
| filled | boolean | Whether the path has a fill. |
| fillColor | object | |
| stroked | boolean | Whether the path has a stroke. |
| strokeColor | object | |
| strokeWidth | number | Stroke width in points. |
| opacity | number | Opacity as a percentage (0-100). |
| layer | string | Target layer name. |