Difference between revisions of "BLUE32"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
imported>Odin
m (2 revisions imported)
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The '''_BLUE32''' function returns the 32 bit blue intensity value of an attribute handle created by the [[_PALETTECOLOR (function)]].
{{DISPLAYTITLE:_BLUE32}}
The [[_BLUE32]] function returns the blue component intensity of a 32-bit image or surface color.




{{PageSyntax}}
: {{Parameter|blue32color&}} = [[_BLUE32]]({{Parameter|rgbaColor&}})


''Syntax:'' blue32% = _BLUE32(handle%)


{{PageDescription}}
* {{Parameter|rgbaColor&}} is the 32-bit ''RGBA'' color value to retrieve the blue component intensity value from.
* ''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).


* The handle is created by the [[_PALETTECOLOR (function)|_PALETTECOLOR]] function.
* Values returned range from 0 to 63


{{PageExamples}}
* See the example for [[POINT]].


''See also:'' [[_RED32]], [[_GREEN32]]
 
{{PageSeeAlso}}
* [[_RED32]], [[_GREEN32]]
* [[_RGB32]], [[_BLUE]]
 
 
{{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