This is an example showing the
rect()
function, change each parameter below to see their effect
The x
and y
parameters control the top left position of the rect
// rect( x, y, width, height);
ctx.rect(
,
,
,
,