Gimp.gradient_segment_range_replicate

function gradient_segment_range_replicate(name: String, start_segment: Number(gint), end_segment: Number(gint), replicate_times: Number(gint)): Boolean {
    // Gjs wrapper for gimp_gradient_segment_range_replicate()
}
  

Replicate the segment range

This function replicates a segment range a given number of times. Instead of the original segment range, several smaller scaled copies of it will appear in equal widths.

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.

replicate_times

The number of times to replicate.

Returns

TRUE on success.