Set Hatch Gradient
hatch_set_gradientFill a hatch with a gradient instead of a pattern using two RGB colors and options for gradient type, rotation, tint, and centering.
Instructions
Fill a hatch with a gradient instead of a pattern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Gradient name: LINEAR, CYLINDER, CURVED, SPHERICAL, HEMISPHERICAL. | LINEAR |
| tint | No | Tint value used with one_color (0-1). | |
| color1 | Yes | Start colour as [r, g, b]. | |
| color2 | Yes | End colour as [r, g, b]. | |
| handle | Yes | Handle of an existing HATCH. | |
| centered | No | 0 = one-sided, 1 = centred. | |
| rotation | No | Gradient angle in degrees. | |
| one_color | No | Blend color1 towards the background instead of color2. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||