Gimp.Layer.prototype.set_opacity
function set_opacity(opacity: Number(gdouble)): Boolean {
// Gjs wrapper for gimp_layer_set_opacity()
}
Set the opacity of the specified layer.
This procedure sets the specified layer's opacity.
- opacity
The new layer opacity.
- Returns
TRUE on success.