Gradient()

Creates a Gradient object that is not initialized.

Use the Gradient.linear or Gradient.radial constructors to obtain a usable Gradient object.

Source

Gradient();