mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-28 11:17:47 +00:00
20 lines
716 B
Markdown
20 lines
716 B
Markdown
The [_RED32](_RED32) function returns the red component intensity of a 32-bit image or surface color.
|
|
|
|
## Syntax
|
|
|
|
> red32color& = [_RED32](_RED32)(rgbaColor&)
|
|
|
|
## Description
|
|
|
|
* 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)](_PALETTECOLOR-(function)), [POINT](POINT), [_RGB](_RGB), [_RGB32](_RGB32), [_RGBA](_RGBA) or [_RGBA32](_RGBA32) functions.
|
|
* [LONG](LONG) intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).
|
|
|
|
## Example(s)
|
|
|
|
* See the example in [POINT](POINT).
|
|
|
|
## See Also
|
|
|
|
* [_BLUE32](_BLUE32), [_GREEN32](_GREEN32)
|
|
* [_RGB32](_RGB32), [_RED](_RED)
|