Gimp.Gradient.segment_get_right_color

@accepts(Gimp.Gradient, int, Gimp.RGB, float)
@returns(bool)
def segment_get_right_color(self, segment, color, opacity):
    # Python 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

self

The gradient.

segment

The index of a segment within the gradient.

color

The return color.

opacity

The opacity of the endpoint.

Returns