canvas -矩形

矩形 (方法 *4) rect(x,y,x1,y1)  //创建矩形路径 fillRect(x,y,x1,y1) //填充矩形 strokeRect(x,y,x1,y1) //创建边框  clearRect(x,y,x1,y1) //清除边框内容   const createRect = w=>{ switch (w){ case("rect"):
相关文章
相关标签/搜索