apply_gradient_rect
Draw a linear gradient rectangle on a specific layer and frame, with configurable start and end colors and horizontal orientation.
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 |