Description

Indicates whether the alpha channel should be used.

This does not indicate whether the image source file contains an alpha channel, only whether to respect it or discard it.

Values

  • alpha - Whether to use alpha channel (true) data or not (false).

Getter

Retrieve whether alpha channel data is used on this object.

Setter

Change alpha channel usage for this object.

This function sets a flag on an image object indicating whether or not to use alpha channel data. A value of true makes it use alpha channel data, and false makes it ignore that data. Note that this has nothing to do with an object's color as manipulated by Efl.Gfx.Color.color.set.

Signature

@property alpha @pure_virtual {
    get {
        values {
            alpha: bool;
        }
    }
    set {
        values {
            alpha: bool;
        }
    }
}

C signature

Eina_Bool efl_gfx_buffer_alpha_get(const Eo *obj);
void efl_gfx_buffer_alpha_set(Eo *obj, Eina_Bool alpha);

Implemented by

  • Efl.Gfx.Buffer.alpha