diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 41f9685..7eaaa36 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -301,6 +301,13 @@ if (style.fill) { this.drawLetterSpacing(lines[i], linePositionX + xShadowOffset, linePositionY + yShadowOffset + style.padding); + + if (style.stroke && style.strokeThickness) + { + this.context.strokeStyle = style.dropShadowColor; + this.drawLetterSpacing(lines[i], linePositionX + xShadowOffset, linePositionY + yShadowOffset + style.padding, true); + this.context.strokeStyle = style.stroke; + } } } }