$drawRect
Draws a rectangle over the canvas.
Parameters
Name | Description | Enforced | Default Value |
---|---|---|---|
X | X coordinate to place the rectangle to. | Yes | None |
Y | Y coordinate to place the rectangle to. | Yes | None |
Width | Rectangle width. | Yes | None |
Height | Rectangle height. | Yes | None |
Radius | Rectangle corner radius. | No | 0 |