摘要: 2.画布apicanvas.getContext("2d");canvas.widthcanvas.height 3.上下文api ctx.fillRect(x,y,w,h):填充矩形 ctx.strokeRect(x,ymwmh):带边框的矩形 ctx.clearRect(0,0,oc.width 阅读全文
posted @ 2019-11-09 12:43 distant-遥远 阅读(387) 评论(0) 推荐(0)