摘要: canvas(画布) 使用方法: 先用js获得节点 通过getConttext(2d)声明方法,在进行绘画 样式: fill 填充 fillStyle ="颜色"; fillRect(x,y,w,h); stroke 不填充线条 strokeStyle = “颜色”; strokeRect(x,y, 阅读全文
posted @ 2017-06-29 11:28 幸为天下客 阅读(71) 评论(0) 推荐(0) 编辑