Gimp.DrawableFilter.prototype.set_opacity
function set_opacity(opacity: Number(gdouble)): void {
// Gjs wrapper for gimp_drawable_filter_set_opacity()
}
This procedure sets the opacity of filter 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.
Since 3.0
- opacity
the opacity.