mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 09:44:19 +00:00
aeb9c0668b
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
27 lines
788 B
Text
27 lines
788 B
Text
{{QBDLDATE:05-20-2022}}
|
|
{{QBDLTIME:23:10:09}}
|
|
{{DISPLAYTITLE:_RED32}}
|
|
The [[_RED32]] function returns the red component intensity of a 32-bit image or surface color.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: {{Parameter|red32color&}} = [[_RED32]]({{Parameter|rgbaColor&}})
|
|
|
|
|
|
{{PageDescription}}
|
|
* {{Parameter|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]], [[POINT]], [[_RGB]], [[_RGB32]], [[_RGBA]] or [[_RGBA32]] functions.
|
|
* [[LONG]] intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).
|
|
|
|
|
|
{{PageExamples}}
|
|
* See the example in [[POINT]].
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[_BLUE32]], [[_GREEN32]]
|
|
* [[_RGB32]], [[_RED]]
|
|
|
|
|
|
{{PageNavigation}}
|
|
|