JS之使用Canvas绘图

JS之使用Canvas绘图

&ltcanvas&gt元素负责在页面中设定一个区域,然后就可以通过 JavaScript 动态地在这个区域中绘制图形。 要使用 &ltcanvas&gt元素,必须先设置其 width 和 height
JavaScript50