canvas怎么在图片上加文字
const ctx = wx.createCanvasContext(‘myCanvas’)
ctx.drawImage(’…/image/sharebg.jpg’, 0, 0,150,150)
ctx.setFontSize(20)
ctx.fillText(‘正方’, 50, 50)
ctx.fillText(‘反方’, 150, 50)
ctx.draw()
绘制完后文字被突被图片遮住了