How to Draw SemiCircle? & Update it per Activity Monitoring

Hi - I wish to do a watch face which mimics the functionality of built in activity monitoring whereby it a sort-of semi-circle (arc?) and then as the activity / steps increases throughout the day, the steps would shade increasingly.

unfortunately, been googling and trying for the longest time and no luck.

I was looking at the analog sample included in the SDK, thinking that I can use the watch hand example to do drawlines, but that fell apart as well.

in short - need some help. Appreciated.
  • Former Member
    Former Member over 10 years ago
    The device is actually uses a native graphics function to draw the thick arc you are seeing on the activity monitoring page. We have plans to expose this as a graphics API in a future SDK release.

    There is a watch face in the store that draws thick arcs using circles, and has a link to its source on github.
    ArcWatch
  • I was also looking at that example. It's not nearly as "clean" as using lines but still, I've been looking at it for a full day and still can't seem to figure it out.