Dynamic texture - writing text with outline

Hi all,

Documentation says for drawing text on dynamic texture:

myDynamicTexture.drawText(text, x, y, font, color, canvas color, invertY, update);

Is it possible for text to have an “outline” with defined width and color?


A dynamic texture simply wraps a canvas with a 2d context so you could use similar solution: javascript - Drawing text with an outer stroke with HTML5's canvas - Stack Overflow

So you could call dynamicTexture.getContext() to access the 2d context. use the SO answer and finally call dynamicTexture.update()