design_add_path
Add a custom SVG path shape layer using M, L, C, Q, and Z path commands. Control fill, stroke, position, size, and scaling for custom generative art shapes.
Instructions
Add a custom path shape layer using SVG path data (M, L, C, Q, Z commands).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| d | Yes | SVG path data string (e.g. "M 10 10 L 90 10 L 90 90 Z"). | |
| x | No | ||
| y | No | ||
| width | No | ||
| height | No | ||
| fillColor | No | Fill color hex (default: "#ffffff"). | |
| layerName | No | ||
| scaleToFit | No | Scale path to fill layer bounds (default: true). | |
| strokeColor | No | Stroke color hex (default: "#000000"). | |
| strokeWidth | No | Stroke width in px (default: 0). |