Gimp.gradient_segment_range_blend_opacity
function gradient_segment_range_blend_opacity(name: String, start_segment: Number(gint), end_segment: Number(gint)): Boolean {
// Gjs wrapper for gimp_gradient_segment_range_blend_opacity()
}
Blend the opacity of the segment range.
This function blends the opacity (but not the colors) of the segments' range of the gradient. Using it, the opacity's transition will be uniform across the range.
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.