Gimp.rgba_set
@accepts(Gimp.RGB, float, float, float, float)
@returns(none)
def rgba_set(rgba, red, green, blue, alpha):
# Python wrapper for gimp_rgba_set()
Sets the red, green, blue and alpha components of @rgb. The values should be between 0.0 and 1.0 but there is no check to enforce this and the values are set exactly as they are passed in.
- rgba
a Gimp.RGB struct
- red
the red component
- green
the green component
- blue
the blue component
- alpha
the alpha component