Interface: ColorGradientFilterCSSOptions

ColorGradientFilterCSSOptions

Options for CSS-style gradient for use with constructor.

Properties:
Name Type Default Description
alpha number 1

Alpha value for the gradient.

css string

CSS-style gradient string

maxColors number 0

Maximum number of colors to render (0 = no limit)

Members

alpha number

Alpha value for the gradient.

Default Value:
  • 1

css string

CSS-style gradient string

maxColors number

Maximum number of colors to render (0 = no limit)

Default Value:
  • 0