Gimp.Layer.set_opacity

@accepts(Gimp.Layer, float)
@returns(bool)
def set_opacity(self, opacity):
    # Python wrapper for gimp_layer_set_opacity()
  

Set the opacity of the specified layer.

This procedure sets the specified layer's opacity.

self

The layer.

opacity

The new layer opacity.

Returns