Usage
$drawRect[;;;;;;;] Also callable as
$placeRect $rectangle $rect Arguments
| Name | Type | Required | Description |
|---|---|---|---|
canvas | String | No | Name of the canvas |
type | Yes | The rectangle type | |
style | String | No | The style. (color/gradient/pattern) |
x | Number | Yes | The rect start X coordinate |
y | Number | Yes | The rect start Y coordinate |
width | Number | Yes | The rect width |
height | Number | Yes | The rect height |
...radius | Number | No | The rect radius |