Grasshopper API
GH_Gradient Constructor (IEnumerableDouble, IEnumerableColor) |
Create a new gradient from grips and colours.
Namespace: Grasshopper.GUI.Gradient
Assembly: Grasshopper (in Grasshopper.dll)

public GH_Gradient( IEnumerable<double> parameters, IEnumerable<Color> colours )
Public Sub New ( parameters As IEnumerable(Of Double), colours As IEnumerable(Of Color) )
Parameters
- parameters
- Type: System.Collections.GenericIEnumerableDouble
Grip locations. - colours
- Type: System.Collections.GenericIEnumerableColor
Colours for each grip.
