09-04-2017 22:07
09-04-2017 22:07
I use GPaths a lot on Pebble watchface development, creating a variety of shapes - it is rare for rectangles, circles and arcs to be sufficient. Some of these can be complex shapes. I can then easily change the colour, move & rotate these.
I know you don't yet have a Drawing API, so wondering the best way to achieve this until you do. Is the only way to create the shapes as images (externally) and use those?
Answered! Go to the Best Answer.
Best Answer09-04-2017 22:24
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-04-2017 22:24
Hi Nev,
It's true that we don't currently have a drawing/canvas API, hopefully that will be resolved in the future.
You can define each shape as an image, in 8-bit grayscale PNG format. See "Grayscale Magic" for full details.
Once you have the shape, you can use either property animations or transformation animations. See "Animations" for further information.
I hope this helps.
Best Answer09-04-2017 22:24
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-04-2017 22:24
Hi Nev,
It's true that we don't currently have a drawing/canvas API, hopefully that will be resolved in the future.
You can define each shape as an image, in 8-bit grayscale PNG format. See "Grayscale Magic" for full details.
Once you have the shape, you can use either property animations or transformation animations. See "Animations" for further information.
I hope this helps.
Best Answer09-04-2017 23:07 - edited 09-05-2017 10:38
09-04-2017 23:07 - edited 09-05-2017 10:38
Thanks Jon. It's what I thought, but good to have it confirmed.
Best Answer09-06-2017 09:32 - edited 09-06-2017 09:37
09-06-2017 09:32 - edited 09-06-2017 09:37
@kenjamin Yeah. That would be great. Looks more flexible than what I am used to in Pebble development. 🙂
Best Answer06-08-2018 06:08
06-08-2018 06:08
Please vote for svg <path> support here : https://community.fitbit.com/t5/Feature-Suggestions/Add-path-support-to-SVG-for-Versa-and-Ionic/idi-...