ap_paint_stroke
Paint a stroke in screen space from normalized 0..1 coordinates, using the active brush on the selected layer according to the current camera view.
Instructions
Paint a stroke in SCREEN space and close it. Coordinates are normalised (0..1) across the viewport, so 0.5,0.5 is the centre and what gets painted depends on the current camera. Paints into the selected layer with the active tool/brush; silently does nothing if no project is open, no layer is selected, or the selected layer is a group. At most 48 points — the whole stroke runs inside one frame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | Stroke path as [[x, y], ...] in normalised 0..1 screen space. |