fillBoldText lineWidth=2
This commit is contained in:
parent
d9409641fa
commit
681e18f77e
@ -139,7 +139,7 @@ ui.prototype.fillBoldText = function (name, text, x, y, style, strokeStyle, font
|
|||||||
if (!strokeStyle) strokeStyle = '#000000';
|
if (!strokeStyle) strokeStyle = '#000000';
|
||||||
strokeStyle = core.arrayToRGBA(strokeStyle);
|
strokeStyle = core.arrayToRGBA(strokeStyle);
|
||||||
ctx.strokeStyle = strokeStyle;
|
ctx.strokeStyle = strokeStyle;
|
||||||
ctx.lineWidth = 3;
|
ctx.lineWidth = 2;
|
||||||
ctx.strokeText(text, x, y);
|
ctx.strokeText(text, x, y);
|
||||||
ctx.fillStyle = style;
|
ctx.fillStyle = style;
|
||||||
ctx.fillText(text, x, y);
|
ctx.fillText(text, x, y);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user