一.图片透明及旋转 let ctx = wx.createCanvasContext('shareImg') ctx.drawImage('../../../' + res[0].path, 0, 0, w, h) ctx.save() ctx.globalAlpha = 0.2 ctx.rotate(-15*Math.PI/180) 二.字体加粗 let text = '这是加粗的文本' ctx.fillText(text, 194, 378 + 0.5) ctx.fillText(text,