摘要: 数组的内容: data.length: w * h * 4 r: 0 - 255 g: 0 - 255 b: 0 - 255 a: 0 - 255 Math.round(255 * a) 数组遍历: const data = context.getImageData(0, 0, canvas.wid 阅读全文
posted @ 2022-09-03 14:04 鸡儿er 阅读(70) 评论(0) 推荐(0) 编辑