apply_gradient_rect
Fills a rectangular area with a linear gradient between two colors. Specify start and end colors, orientation, and target layer or frame.
Instructions
Apply a linear gradient fill to a rectangle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes | ||
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| color_start | Yes | ||
| color_end | Yes | ||
| horizontal | No | ||
| create_if_missing | No |