Documentation / spryte / roundRect
Function: roundRect()
roundRect(
draw,x,y,w,h,radius,color,lineWidth?):void
Defined in: shapes.ts:31
Rectangle with rounded corners: filled, or outlined when lineWidth is given (the outline is centred on the edge).
Parameters
draw
x
number
y
number
w
number
h
number
radius
number
color
lineWidth?
number
Returns
void