Creates a gradient using two particles colors and opacity.
The canvas context to draw on.
The first particle.
The second particle.
The opacity of the gradient.
The gradient.
Creates a gradient using two particles colors and opacity.