set_fill
Set fill properties on Figma nodes, including solid, linear, radial, and multiple fills. Specify color, opacity, and gradient parameters.
Instructions
Set fill on a node. Supports solid, linear gradient, radial gradient, and multiple fills.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Target node ID | |
| type | No | Fill type (default: SOLID) | |
| color | No | Solid fill hex color | |
| gradient | No | { angle, stops: [{ position: 0-1, color: "#hex" }] } | |
| opacity | No | Fill opacity 0-1 | |
| fills | No | Array of fill objects for multiple fills |