Skip to content

$strokeRect

Draws a new stroke rect.

Usage

$strokeRect[canvas;color;x?;y?;width?;height?;strokeWidth?;radius?]

Parameters

FieldDescriptionTypeRequired
canvasThe canvas name.stringtrue
styleThe rect style.color | gradient | patterntrue
xThe rect X position.numberfalse
yThe rect Y position.numberfalse
widthThe rect width.numberfalse
heightThe rect height.numberfalse
strokeWidthThe rect stroke width.numberfalse
radiusThe rect corners radius.number | number[]false