Gimp.gradient_segment_get_middle_pos

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

Retrieves the middle point position of the specified segment

This procedure retrieves the middle point position of the specified segment of the specified gradient.

Since 2.2

name

The gradient name.

segment

The index of the segment within the gradient.

ok

TRUE on success.

pos

The return position.