Gimp.gradient_segment_set_right_color
function gradient_segment_set_right_color(name: String, segment: Number(gint), color: Gimp.RGB, opacity: Number(gdouble)): Boolean {
// Gjs wrapper for gimp_gradient_segment_set_right_color()
}
Sets the right endpoint color of the specified segment
This procedure sets the right 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.
- color
The color to set.
- opacity
The opacity to set for the endpoint.
- Returns
TRUE on success.