Commit 27f139d3 by dosZhang

dos

parent 550057c5
......@@ -350,7 +350,7 @@ function drawVerticalText(ctx, text, color, fontSize, x, y, isBold, letterSpacin
ctx.fillStyle = color; // 设置字体颜色
ctx.textBaseline = 'middle'; // 设置基准线为中间
ctx.textAlign = 'center'; // 设置文本对齐为居中
ctx.lineWidth = 2; // 设置描边宽度
ctx.lineWidth = 10; // 设置描边宽度
ctx.strokeStyle = 'white'; // 设置描边颜色
// 计算每个字符的高度总和,包含字间距
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment