Gimp.Layer.prototype.get_opacity

function get_opacity(): Number(gdouble) {
    // Gjs wrapper for gimp_layer_get_opacity()
}
  

Get the opacity of the specified layer.

This procedure returns the specified layer's opacity.

Returns

The layer opacity.