Difference between revisions of "BLUE32"

From QB64 Wiki
Jump to navigation Jump to search
imported>Cyperium
imported>Odin
m (2 revisions imported)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The '''_BLUE32''' function returns the blue intensity value of a 32 bit color value returned by the {{KW|_PALETTECOLOR (function)}}.
+
{{DISPLAYTITLE:_BLUE32}}
 
+
The [[_BLUE32]] function returns the blue component intensity of a 32-bit image or surface color.
  
  
 
{{PageSyntax}}
 
{{PageSyntax}}
:<code>blue_intensity% = {{KW|_BLUE32}}({{Parameter|color32value}})</code>
+
: {{Parameter|blue32color&}} = [[_BLUE32]]({{Parameter|rgbaColor&}})
  
  
 
{{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 [[_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 for [[POINT]].
  
  
 
{{PageSeeAlso}}
 
{{PageSeeAlso}}
*{{KW|_RED32}}, {{KW|_GREEN32}}
+
* [[_RED32]], [[_GREEN32]]
 
+
* [[_RGB32]], [[_BLUE]]
  
  
 
{{PageNavigation}}
 
{{PageNavigation}}

Latest revision as of 03:16, 1 November 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