Gimp.gradient_segment_set_left_pos

function gradient_segment_set_left_pos(name: String, segment: Number(gint), pos: Number(gdouble)): [ok: Boolean, final_pos: Number(gdouble)] {
    // Gjs wrapper for gimp_gradient_segment_set_left_pos()
}
  

Sets the left endpoint position of the specified segment

This procedure sets the left endpoint position of the specified segment of the specified gradient. The final position will be between the position of the middle point to the left to the middle point of the current 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.

ok

TRUE on success.

final_pos

The return position.