Gimp.gradient_segment_range_redistribute_handles

function gradient_segment_range_redistribute_handles(name: String, start_segment: Number(gint), end_segment: Number(gint)): Boolean {
    // Gjs wrapper for gimp_gradient_segment_range_redistribute_handles()
}
  

Uniformly redistribute the segment range's handles

This function redistributes the handles of the specified segment range of the specified gradient, so they'll be evenly spaced.

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.

Returns

TRUE on success.