JS - 使 canvas 背景透明

 

canvas = document.getElementById('canvas1');
var context = canvas.getContext('2d');
context.fillStyle = 'rgba(255, 255, 255, 0)'
posted @ 2019-09-03 17:12  武卡卡  阅读(6669)  评论(0编辑  收藏  举报