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 Answer
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.
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 Answer
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.
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 AnswerThanks Jon. It's what I thought, but good to have it confirmed.
Best AnswerPlease vote for svg <path> support here : https://community.fitbit.com/t5/Feature-Suggestions/Add-path-support-to-SVG-for-Versa-and-Ionic/idi-...