Gimp.gradient_segment_range_split_uniform
function gradient_segment_range_split_uniform(name: String, start_segment: Number(gint), end_segment: Number(gint), split_parts: Number(gint)): Boolean {
// Gjs wrapper for gimp_gradient_segment_range_split_uniform()
}
Splits each segment in the segment range uniformly
This function splits each segment in the segment range uniformly according to the number of times specified by the parameter.
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.
- split_parts
The number of uniform divisions to split each segment to.
- Returns
TRUE on success.