📅  最后修改于: 2022-03-11 14:53:29.955000             🧑  作者: Mango
代码示例1
var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d');
context.clearRect(0, 0, canvas.width, canvas.height);