赞
踩
// 获取画布对象和绘制上下文 var canvas = document.getElementById("myCanvas"); var ctx = canvas.getContext("2d"); // 设置五角星的中心点坐标和大小 var cen