📅  最后修改于: 2022-03-11 15:02:27.295000             🧑  作者: Mango
代码示例1
const canvas = document.querySelector('.main-canvas');
const ctx = canvas.getContext('2d');
ctx.fillRect(200, 100, 200, 200);