Sketch Rect
Draw a rectangle using Processing-style coordinates: x, y, width, height.
Parameters
| Parameter | Description |
|---|---|
| Sketch Component | Sketch canvas to draw on. |
| X | Left X in sketch coordinates. |
| Y | Top Y in sketch coordinates. |
| Width | Rectangle width in sketch pixels. |
| Height | Rectangle height in sketch pixels. |
Notes
- The interior uses the current fill settings.
- The border uses the current stroke color and stroke weight.