![]()  | 
![]()  | 
![]()  | 
![]()  | 
Extract the alpha component from a color value
int PgAlphaValue( PgColor_t color );
ph
This macro extracts the alpha color component from a composite color value. The result is between 0 and 255.
![]()  | 
This macro doesn't check the color model currently in use, and gives undefined results if you're not using the Pg_CM_ARGB model. | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PgARGB(), PgBlueValue(), PgCMY(), PgColor_t, PgGreenValue(), PgHSV(), PgRedValue(), PgRGB(), PgSetFillColor(), PgSetFillDither()
“Color” and “Alpha Blending Support” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |