Circle / radial progress bar

Ho to implement a circle progress bar?
Defold doesn’t have any lineTo / arcTo methods. I think I should use clipping + stencil + rendering. But I don’t understand how to use it together.

Have you taken a look at the examples project? There is a section with gui examples that does just this.