Skip to content

$drawRect

Draws a rectangle over the canvas.

Parameters

NameDescriptionEnforcedDefault Value
XX coordinate to place the rectangle to.YesNone
YY coordinate to place the rectangle to.YesNone
WidthRectangle width.YesNone
HeightRectangle height.YesNone
RadiusRectangle corner radius.No0

Example

$drawRect[x;y;width;height;radius?]