pub fn indicator_arc(radius: f32) -> IndicatorArcExpand description
Where the track’s centreline sits and how far it sweeps.
Wear describes the track by a height in dp, so the angle it covers depends on the radius it is drawn at — deriving it here rather than storing an angle keeps the indicator the same size in millimetres on every watch.
The centreline is radius - edgePadding - strokeWidth / 2. Wear converts
both the track height and (strokeWidth + gapHeight) to angles using the
padded radius, then adds the latter inset to the total sweep before each
segment removes it again. The round caps restore the stroke-width share,
leaving the requested visible gap.