Nice work!
One suggestion though, instead of adding another bool parameter, that is mutually exclusive with the other one (what happens, if both are true?) I would suggest an
enum GradientType
{
Linear, Radial, Conical
};
Good luck, would love to see that added!
