08-25-2018 17:49
08-25-2018 17:49
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.
08-25-2018 17:53
08-25-2018 17:53
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).
08-25-2018 19:03
08-25-2018 19:03
Yeah I was hoping for something a bit better but that's what I'm doing now.