midAngle method

double midAngle(
  1. int index
)

The canvas angle through the middle of slice index (before rotation).

Implementation

double midAngle(int index) => startAngle(index) + sweeps[index] / 2;