User Guide

Ruby Component
Both methods take two inputs. The first is the focus. This is a float between 0 and 1 which defines the relative distance of the end point
colour from the start point. A value of 0.5 would put it bang in the middle for example. The second parameter is the scale. This is also a float
between 0 and 1 and it defines the intensity of the colour at the focus point.
Here's an example of these in action. We've used a GraphicsPath instead of an array of points this time too just to show how that works
when defining the brush.
You take this a step further and set your own blend points. This is done using the setBlend method.
setBlend blendArray
The method takes an array of two element arrays. Each two element array defines first a blend factor then a position along the gradient. Both
values are floats in the range 0 to 1.
134 of 212