ctx.beginPath(); ctx.rotate(30* Math.PI/180); //画布旋转,每次旋转30个弧度 ctx.moveTo(100,0); ctx.lineTo(120,0); ctx.stroke(); } ctx.restore ...
確定! 回上一頁