Gimp.gradient_segment_set_right_pos

@accepts(unicode, int, float, float)
@returns(bool)
def gradient_segment_set_right_pos(name, segment, pos, final_pos):
    # Python wrapper for gimp_gradient_segment_set_right_pos()
  

Sets the right endpoint position of the specified segment

This procedure sets the right endpoint position of the specified segment of the specified gradient. The final position will be between the position of the middle point of the current segment and the middle point of the segment to the right. This procedure returns the final position.

Since 2.2

name

The gradient name.

segment

The index of the segment within the gradient.

pos

The position to set the guidepoint to.

final_pos

The return position.

Returns