html canvas第三课 (moveto lineto beginpath closepath measureText等)
第3周课程总结(9.16~9.20)
1、复习上周内容,熟悉setTimeout方法及其运行原理。
var n=0;
function showWords()
{
context.clearRect(0, 0, canvas.width, canvas.height);//清空
if(n<words.length)
{
drawText(words.c...
原创
2019-09-18 22:55:24 ·
188 阅读 ·
0 评论