Loading

Palpha


processing
Since v1.0.0
Available on all platforms
See also

Extracts the alpha value from a color.

The Palpha function is easy to use and understand, but it is slower than bit shifting...

Link to original Processing doc

Signature

Examples

100 100 '2D' PGraphics 0x2Aff0000 //red, 0x2A transparent Palpha //returns alpha value