set_gradient_fill
Apply a linear, radial, angular, or diamond gradient fill to a design node, specifying color stops and angle.
Instructions
Set a gradient fill on a node
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | Angle of the gradient in degrees (for linear gradients) | |
| stops | Yes | Array of gradient color stops | |
| nodeId | Yes | The ID of the node to set the gradient on | |
| gradientType | No | Type of gradient | GRADIENT_LINEAR |