08-25-2020 14:46 - edited 08-28-2020 14:48
08-25-2020 14:46 - edited 08-28-2020 14:48
Hi, first things first I am pretty new to fitbit dev.
Nevertheless, would somebody mind to show an example to apply a background to a rect or circle inside a svg? I've tried, but even css seems to be restricted using it within fitbit-studio/sdk.
What's the way to go to show an image as texture of a circle/rect?
bg
Answered! Go to the Best Answer.
08-25-2020 15:22
08-25-2020 15:22
Hi,
An easy way is to use the Mask.
08-25-2020 15:22
08-25-2020 15:22
Hi,
An easy way is to use the Mask.
08-27-2020 14:46 - edited 08-28-2020 14:14
08-27-2020 14:46 - edited 08-28-2020 14:14
Hi @JeremyJeanson , thanks a ton for the hint. It seems to work pretty well on the simulator but on my Versa 2 Device I see nothing from my circle. Changed the circle to a rect and voila, its showing properly. Did you discovered this issue already. And when, would you mind another hint?
Edit: Thats a bug: https://community.fitbit.com/t5/SDK-Development/Versa-2-only-mask-rendering-issue/m-p/4067045