User Guide
Ruby Component
This is all best illustrated with an example. The picture below shows a gradient with three blend points in between the end points which
themselves are set to zero (ie. color1):
You can also introduce a whole range of colours into the gradient using the setInterpolationColors method. This is very similar to the
setBlend method except that instead of a blend factor you have a Color object paired with the position along the gradient.
setInterpolationColors colourArray
The example below shows 4 colours merging together at various points:
135 of 212