Aval

Syntax

int Aval(int rgba)

Arguments

rgba
A 32-bit quadruple holding values for the three color channels, plus the alpha channel, each as eight bits.

Return

A value in the range 0 to 255 inclusive.

Description

The value returned is the value for the alpha channel, extracted from the quadruple.

Example

Also see

Rval,Gval,Bval

Comments

Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.