Click or drag to resize

GH_GradientNearestGrip Method (Double)

Find the nearest grip to a parameter.

Namespace:  Grasshopper.GUI.Gradient
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public int NearestGrip(
	double t
)

Parameters

t
Type: SystemDouble
Parameter to search from.

Return Value

Type: Int32
The grip nearest to the parameter.
See Also