StopsArithmetic typedef
A StopsArithmetic is a function that returns a double after accepting
and considering a double stop and an double factor.
The default StopsArithmetic function for FooShadedSteps is
Maths.subtraction.
Implementation
typedef StopsArithmetic = double Function(double stop, double factor);