paint_stroke
Draw brush strokes, erase marks, clone stamps, or heal areas by passing [[x,y],...] points. Specify color, size, opacity, and hardness for precise pixel painting or retouching.
Instructions
Brush stroke: polyline [[x,y],...] in document px on a paint layer (created if missing). erase=true erases previous strokes of that layer. Clone stamp: source=[x,y] is where to copy from for the first point (copies everything below the layer); heal=true = healing brush (matches the light and color of the destination).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| heal | No | ||
| size | No | ||
| color | No | #000000 | |
| erase | No | ||
| layer | No | ||
| points | Yes | ||
| source | No | ||
| opacity | No | ||
| project | No | ||
| hardness | No |