Difference between revisions of "BLUE32"

From QB64 Wiki
Jump to navigation Jump to search
imported>Cyperium
imported>Stylin
(added type-suffix symbols to parameters, added description)
Line 1: Line 1:
The '''_BLUE32''' function returns the blue intensity value of a 32 bit color value returned by the {{KW|_PALETTECOLOR (function)}}.
+
The {{KW|_BLUE32}} function returns the blue component intensity of a 32-bit ''RGBA'' color value.
 
 
  
  
 
{{PageSyntax}}
 
{{PageSyntax}}
:<code>blue_intensity% = {{KW|_BLUE32}}({{Parameter|color32value}})</code>
+
:<code>{{Parameter|result&}} = {{KW|_BLUE32}}({{Parameter|rgbaColor&}})</code>
  
  
 
{{PageDescription}}
 
{{PageDescription}}
* The attribute value is created by the {{KW|_PALETTECOLOR (function)|_PALETTECOLOR}}, {{KW|_RGB}}, {{KW|_RGB32}}, {{KW|_RGBA}} or {{KW|_RGBA32}} functions.
+
* {{Parameter|rgbaColor&}} is the 32-bit ''RGBA'' color value to retrieve the blue component intensity value from.
* Intensity values returned range from 0 to 255.
+
* ''RGBA'' color values are returned by the {{KW|_PALETTECOLOR (function)|_PALETTECOLOR}}, {{KW|POINT}}, {{KW|_RGB}}, {{KW|_RGB32}}, {{KW|_RGBA}} or {{KW|_RGBA32}} functions.
 
+
* Intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).
 
 
 
 
 
 
  
  
 
{{PageSeeAlso}}
 
{{PageSeeAlso}}
*{{KW|_RED32}}, {{KW|_GREEN32}}
+
* {{KW|_RED32}}, {{KW|_GREEN32}}
 
+
* {{KW|_BLUE}}
  
  
 
{{PageNavigation}}
 
{{PageNavigation}}

Revision as of 16:21, 4 March 2010

The _BLUE32 function returns the blue component intensity of a 32-bit RGBA color value.


Syntax

result& = _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.
  • Intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).


See also



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