Gimp.gradient_segment_set_right_pos
function gradient_segment_set_right_pos(name: String, segment: Number(gint), pos: Number(gdouble)): [ok: Boolean, final_pos: Number(gdouble)] {
// Gjs 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.
- ok
TRUE on success.
- final_pos
The return position.