krita_paint_line
Paint a single native line in Krita using integer coordinates and endpoint pressures. Specify start, end, color, size, opacity, and preset to create one distinct stroke.
Instructions
Paint one native line with integer image coordinates and endpoint pressures. Each call is a separate native stroke.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| color | Yes | ||
| start | Yes | ||
| node_id | Yes | ||
| opacity | Yes | ||
| size_px | Yes | ||
| preset_id | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes | ||
| pressure_end | No | ||
| pressure_start | No |