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