flood_fill
Fill a contiguous area of matching pixels from a seed point with a new color in one undoable action. Use for bucket fills without affecting neighboring regions.
Instructions
Fills a contiguous area of matching pixels starting from (x, y) with color in a single undo transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Seed point X | |
| y | Yes | Seed point Y | |
| color | Yes | New fill color (hex) | |
| layerName | No | ||
| tolerance | No | Color tolerance (0-255) | |
| layerIndex | No | ||
| frameNumber | No | ||
| returnPreview | No |