I've seen the option to simulate an outer stroke by simply doubling the stroke (and changing the order) when writing text to canvas (see here)
However, the app I'm working on allows for rgba colours to be used. As a result, it's possible that the "hidden" inner stroke becomes visible. Here's a sample:
In this example, the stroke is white and the text fill is rgba(0,0,0,0.5).
As a result, the hidden white inner stroke can be seen. Is it possible to apply an outer stroke without the inner? If not, is it possible to apply something like a clipping mask to the stroke to prevent the inner from being visible if the text fill has opacity?
I feel like I know the answer here, but hoping someone might have a clever solution.
Thanks -