forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 23
_RED32
Cory Smith edited this page Sep 1, 2022
·
3 revisions
The _RED32 function returns the red component intensity of a 32-bit image or surface color.
red32color& = _RED32(rgbaColor&)
- rgbaColor& is the 32-bit RGBA color value to retrieve the red component intensity value from.
- RGBA color values are returned by the _PALETTECOLOR (function), POINT, _RGB, _RGB32, _RGBA or _RGBA32 functions.
- LONG intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).
- See the example in POINT.