# Gimp.gradient_segment_range_set_blending_function

    function gradient_segment_range_set_blending_function(name: String, start_segment: Number(gint), end_segment: Number(gint), blending_function: Gimp.GradientSegmentType): Boolean {
        // Gjs wrapper for gimp_gradient_segment_range_set_blending_function()
    }

Change the blending function of a segments range

This function changes the blending function of a segment range to the specified blending function.

Since 2.2

name

  The gradient name.

start_segment

  The index of the first segment to operate on.

end_segment

  The index of the last segment to operate on. If negative, the selection will extend to the end of the string.

blending_function

  The blending function.

Returns

  TRUE on success.