clear method

Gradient clear()

Removes all gradients.

Implementation

Gradient clear() {
  _gradients.clear();
  return this;
}