Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Outlining text

I'm trying to add an outline to my text in my clockface.  Normally I can do this with various stroke styles in CSS.  Many of those seem to not be available in the SDK.

 

Is there currently a way to do this either with JavaScript/Typescript or with SVG?  My Googling has left me dry.

Best Answer
0 Votes
2 REPLIES 2

I don't think this can be done (yet). Alternatives are to create a drop-shadow effect by writing a slightly offset copy of the text with a different fill, or using a contrasting background (possibly with partial opacity).

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Yeah I was hoping for something a bit better but that's what I'm doing now. 

Best Answer
0 Votes