pub fn ncchannel_set_alpha(
    channel: &mut NcChannel_u32,
    alpha: impl Into<NcAlpha_u32>
) -> NcResult_i32
Expand description

Sets the NcAlpha_u32 of an NcChannel_u32.

Background channels must not be set to NCALPHA_HIGHCONTRAST.

It is an error if alpha contains any bits other than NCALPHA_*.

Method: NcChannel.set_alpha()