apply_dither_gradient
Fill a rectangular area with a two-color Bayer-dithered gradient, creating a smooth transition between two colors in Aseprite.
Instructions
Fill a rectangle with a two-color Bayer-dithered gradient.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filename": "<filename>",
"layer_name": "<layer_name>",
"frame_index": "<frame_index>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"color_start": "<color_start>",
"color_end": "<color_end>"
},
"name": "apply_dither_gradient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| filename | Yes | ||
| color_end | Yes | ||
| horizontal | No | ||
| layer_name | Yes | ||
| color_start | Yes | ||
| frame_index | Yes | ||
| create_if_missing | No |