Linearly interpolate between color stops to get a color along this gradient.
A value between min, max to use for selecting a color along this
gradient. An x value of min will select the first color stop, and an x
value of max will select the last color stop. If min and max are not
present, x should be a normalized value.
The minimum range of the color scale
The maximum range of the color scale
The interpolated color
Add color stops to an existing HTML canvas gradient.
Any canvas gradient created with one of the following functions:
CanvasRenderingContext2D.createConicGradient(...)CanvasRenderingContext2D.createLinearGradient(...)CanvasRenderingContext2D.createRadialGradient(...)Return a string representation of this gradient.
The gradient pattern shape
The number of times to repeat this gradient
Options to add before the color stops
A valid CSS color gradient
Generate an SVG linear gradient element.
The ID of this linear gradient, to be obtained with url(#id)
The angle of this color gradient, in degrees clockwise from the vertical
A valid SVG color gradient
Represents a linear, uniform color gradient.