_RED32

From QB64 Wiki
Revision as of 03:16, 1 November 2017 by imported>Odin (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The _RED32 function returns the red component intensity of a 32-bit image or surface color.


Syntax

red32color& = _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, POINT, _RGB, _RGB32, _RGBA or _RGBA32 functions.
  • LONG intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).


Examples

  • See the example in POINT.


See also



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page