this.drawText(加粗的文字, "normal bold 40px Arial", "#3F96F3", 161, 394);
drawText(text, font, fontColor, left, top) {
this.ctx.font = font;
this.ctx.fillStyle = fontColor;
this.ctx.fillText(text, left, top)
},
canvas文字加粗
猜你喜欢
转载自blog.csdn.net/qq_33769914/article/details/124949141
今日推荐
周排行