gradientMode(gradientMode)

Sets the gradient mode for gradient() to LINEAR or RADIAL. The default gradient mode is LINEAR.

Type: function

Parameter(s):

  • gradientMode {String}:

    LINEAR or RADIAL.