Gimp.gradient_segment_range_move

@accepts(unicode, int, int, float, bool)
@returns(float)
def gradient_segment_range_move(name, start_segment, end_segment, delta, control_compress):
    # Python wrapper for gimp_gradient_segment_range_move()
  

Move the position of an entire segment range by a delta.

This function moves the position of an entire segment range by a delta. The actual delta (which is returned) will be limited by the control points of the neighboring segments.

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.

delta

The delta to move the segment range.

control_compress

Whether or not to compress the neighboring segments.

Returns