03-21-2018 01:41
03-21-2018 01:41
Good morning Fitbit dev community. I have been looking through the documentation and can not find any examples of arcing text ( around a circle). I know this is possible. Could someone please point me in the right direction.
Thank in advance.
Oh, I still can not get the ionic simulator to install an app, the versa one is fine, the Ionic one continues to fail.
03-23-2018 08:23
03-23-2018 08:23
Anyone? I'm having trouble finding anything on this subject.
03-24-2018 05:47
03-24-2018 05:47
I found this
https://gist.github.com/jebeck/196406a3486985d2b92e
Not sure how it works, I might give it a try
03-25-2018 07:57
03-25-2018 07:57
Looks like a bit of trial error may be required.
03-25-2018 23:06 - edited 03-25-2018 23:14
03-25-2018 23:06 - edited 03-25-2018 23:14
Oh, of course, you can. Put your text inside of <g> tag's, then select g tag by id and rotate it. Or, just inline the transformation, like <g transform="rotate(30)">. If you need the long sentence to be drawn around an arc though, you might find yourself rotating every single letter.
These g transformations are the strongest part of the Fitbit SDK. You can do incredible things if you use it smartly.