Gimp.gradient_segment_get_left_color
function gradient_segment_get_left_color(name: String, segment: Number(gint)): [ok: Boolean, color: Gimp.RGB, opacity: Number(gdouble)] {
// Gjs wrapper for gimp_gradient_segment_get_left_color()
}
Retrieves the left endpoint color of the specified segment
This procedure retrieves the left endpoint color 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.
- color
The return color.
- opacity
The opacity of the endpoint.