📅  最后修改于: 2022-03-11 15:03:15.384000             🧑  作者: Mango
var canvas = document.getElementById("canv");
var ctx = canvas.getContext("2d");
ctx.fillStyle = "red";
ctx.fillRect(10, 10, 80, 80);