Sketch Line
Draw a line using Processing-style coordinates: x1, y1, x2, y2.
Parameters
| Parameter | Description |
|---|---|
| Sketch Component | Sketch canvas to draw on. |
| X1 | Start X in sketch coordinates. |
| Y1 | Start Y in sketch coordinates. |
| X2 | End X in sketch coordinates. |
| Y2 | End Y in sketch coordinates. |
Notes
- The current stroke color and stroke weight control how the line is rendered.
- If stroke is disabled, the line is not drawn.