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