set_opacity


Description:

[ Version ( since = "3.0" ) ]
public void set_opacity (double opacity)

This procedure sets the opacity of this on a range from 0.0 (transparent) to 1.0 (opaque).

The change is not synced immediately with the core application. Use [method@Gimp.Drawable.update] to trigger an actual update.

Parameters:

this

The drawable's filter.

opacity

the opacity.