Gimp » Gimp.ParamSpecRGB »

Gimp.ParamSpecRGB.has_alpha

function has_alpha(pspec: GObject.ParamSpec): Boolean {
    // Gjs wrapper for gimp_param_spec_rgb_has_alpha()
}
  

Since 2.4

pspec

a GObject.ParamSpec to hold an Gimp.RGB value.

Returns

true if the alpha channel is relevant.

More Information

  • Gimp.ParamSpecRGB