Gimp.gradient_segment_set_middle_pos
@accepts(unicode, int, float, float)
@returns(bool)
def gradient_segment_set_middle_pos(name, segment, pos, final_pos):
# Python wrapper for gimp_gradient_segment_set_middle_pos()
Sets the middle point position of the specified segment
This procedure sets the middle point position of the specified segment of the specified gradient. The final position will be between the two endpoints of the segment. 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