new GradientColor(type, direction, numStops, gradientStopList)
Parameters:
Name | Type | Description |
---|---|---|
type |
The gradient type, must be "linear". |
|
direction |
A #Direction object for the direction of the gradient |
|
numStops |
The number of stops in the gradient. |
|
gradientStopList |
An array of #GradientStop objects. |
- Source:
Returns:
A new GradientColor object.