krita_paint_bezier_path
Paint a cubic Bézier path directly in a Krita document using pixel coordinates. Define up to 256 segments with control points, start point, color, size, opacity, and brush preset for accurate strokes.
Instructions
Paint one native cubic Bézier path with 1–256 segments in image pixels. Each segment is [control1, control2, endpoint], each a coordinate pair. Requires the target's active view; no per-point pressure. Reuse operation_id on retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | ||
| start | Yes | ||
| node_id | Yes | ||
| opacity | Yes | ||
| size_px | Yes | ||
| segments | Yes | ||
| preset_id | Yes | ||
| document_id | Yes | ||
| instance_id | Yes | ||
| operation_id | Yes |