先用 ctx.drawImage(
tempFilePaths, 0, 0, 375 * width01, (557 * height01)-1
)
放入图片。
然后 console.log(“第一步”)
ctx.setFillStyle(’#FF6A00’)
ctx.setTextAlign(‘center’)
ctx.setFontSize(12)
ctx.fillText(nickName, (50 * width01) + name_le / 2 + (le / 2), 540 * height01)
然后盖上文字。
最后
ctx.draw()