startAngle method

double startAngle(
  1. int index
)

The canvas angle at which slice index starts (before rotation).

Implementation

double startAngle(int index) => -pi / 2 + offsets[index];