Difference between revisions of "BLUE32"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m
imported>Odin
m (2 revisions imported)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The {{KW|_BLUE32}} function ALWAYS returns the blue component intensity of a 32-bit ''RGBA'' color value.
+
{{DISPLAYTITLE:_BLUE32}}
 +
The [[_BLUE32]] function returns the blue component intensity of a 32-bit image or surface color.
  
  
 
{{PageSyntax}}
 
{{PageSyntax}}
:{{Parameter|result&}} = {{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). '''Do NOT use SINGLE variables!'''
+
* [[LONG]] intensity values returned range from 0 (no intensity, not present) to 255 (full intensity).
  
  
''See Example:'' [[POINT]]
+
{{PageExamples}}
 +
* See the example for [[POINT]].
  
  
 
{{PageSeeAlso}}
 
{{PageSeeAlso}}
* {{KW|_RED32}}, {{KW|_GREEN32}}
+
* [[_RED32]], [[_GREEN32]]
* {{KW|_RGB32}}, {{KW|_BLUE}}
+
* [[_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