Gimp.gradient_segment_get_blending_function

function gradient_segment_get_blending_function(name: String, segment: Number(gint)): [ok: Boolean, blend_func: Gimp.GradientSegmentType] {
    // Gjs wrapper for gimp_gradient_segment_get_blending_function()
}
  

Retrieves the gradient segment's blending function

This procedure retrieves the blending function of the segment at the specified gradient name and segment index.

Since 2.2

name

The gradient name.

segment

The index of the segment within the gradient.

ok

TRUE on success.

blend_func

The blending function of the segment.