Gimp.context_set_opacity

function context_set_opacity(opacity: Number(gdouble)): Boolean {
    // Gjs wrapper for gimp_context_set_opacity()
}
  

Set the opacity.

Modifies the opacity setting. The value should be a floating point number between 0 and 100.

Since 2.2

opacity

The opacity.

Returns

TRUE on success.