Gimp.Gradient.prototype.segment_get_right_color
function segment_get_right_color(segment: Number(gint)): [ok: Boolean, color: Gimp.RGB, opacity: Number(gdouble)] {
// Gjs wrapper for gimp_gradient_segment_get_right_color()
}
Gets the right endpoint color of the segment
Gets the color of the right endpoint color of the segment of the gradient. Returns an error when the segment index is out of range.
Since 2.2
- segment
The index of a segment within the gradient.
- ok
TRUE on success.
- color
The return color.
- opacity
The opacity of the endpoint.