#myCanvas
strokeRect
0,0,150,100|0,10,150,100|0,20,150,100|0,30,150,100|0,50,150,100
ctx.strokeRect(#val);
your browser does not support the canvas tag
Canvas
❮
Previous
Next
❯
观看不同值的演示
.
或者点击指定值查看结果
在编辑器中更多地使用代码:
亲自尝试一下 ❯