Gimp.Gradient.prototype.segment_range_blend_colors
function segment_range_blend_colors(start_segment: Number(gint), end_segment: Number(gint)): Boolean {
// Gjs wrapper for gimp_gradient_segment_range_blend_colors()
}
Blend the colors of the segment range.
Blends the colors (but not the opacity) of the range of segments. The colors' transition will then be uniform across the range. Returns an error when a segment index is out of range, or gradient is not editable.
Since 2.2
- start_segment
Index of the first segment to operate on.
- end_segment
Index of the last segment to operate on. If negative, the range will extend to the end segment.
- Returns
TRUE on success.