Difference between revisions of "BLUE32"

From QB64 Wiki
Jump to navigation Jump to search
imported>SMcNeill
m (-)
imported>SMcNeill
([[]])
Line 1: Line 1:
 
{{DISPLAYTITLE:_BLUE32}}
 
{{DISPLAYTITLE:_BLUE32}}
The {{KW|_BLUE32}} function returns the blue component intensity of a 32-bit image or surface color.
+
The [[_BLUE32]] function returns the blue component intensity of a 32-bit image or surface color.
  
  
 
{{PageSyntax}}
 
{{PageSyntax}}
: {{Parameter|blue32color&}} = {{KW|_BLUE32}}({{Parameter|rgbaColor&}})
+
: {{Parameter|blue32color&}} = [[_BLUE32]]({{Parameter|rgbaColor&}})
  
  
 
{{PageDescription}}
 
{{PageDescription}}
 
* {{Parameter|rgbaColor&}} is the 32-bit ''RGBA'' color value to retrieve the blue component intensity value from.
 
* {{Parameter|rgbaColor&}} is the 32-bit ''RGBA'' color value to retrieve the blue component intensity value from.
* ''RGBA'' color values are returned by the {{KW|_PALETTECOLOR (function)|_PALETTECOLOR}}, {{KW|POINT}}, {{KW|_RGB}}, {{KW|_RGB32}}, {{KW|_RGBA}} or {{KW|_RGBA32}} functions.
+
* ''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).
 
* [[LONG]] intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).
  

Revision as of 13:37, 5 September 2017

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


Syntax

blue32color& = _BLUE32(rgbaColor&)


Description

  • rgbaColor& is the 32-bit RGBA color value to retrieve the blue 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 for POINT.


See also



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page