ae_addShapeLayer
Creates an After Effects vector shape layer (rectangle, rounded rectangle, ellipse, polygon, star, or custom path) with size, position, and hex fill/stroke.
Instructions
After Effects: add a vector shape layer — rect, roundedRect, ellipse, polygon, star or custom path (points [[x,y],...] relative to the layer center) — with hex fill/stroke. position = layer center (default comp center).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fill | No | hex, or null for no fill | |
| name | No | ||
| size | Yes | [w, h] px (for polygon/star: outer diameter) | |
| shape | Yes | ||
| closed | No | ||
| points | No | polygon/star points | |
| stroke | No | ||
| lineCap | No | ||
| opacity | No | ||
| position | No | ||
| trimPaths | No | add Trim Paths (for write-on animation) | |
| innerRatio | No | star inner/outer radius (default 0.5) | |
| pathPoints | No | for shape "path": [[x,y],...] | |
| strokeWidth | No | ||
| cornerRadius | No | ||
| compositionName | No | Comp name; omit to use the active comp. |