TypeLib Xojo support Plugin |

# RawBitmap.GetPixelComponents Method

Gets component floating point values for given pixel

GetPixelComponents(
x as Integer,
y as Integer,
ByRef r as Single,
ByRef g as Single,
ByRef b as Single,
ByRef k as Single,
ByRef a as Single)

#### Parameters

x
  The x coordinate for the pixel to get components for. (Zero based)
y
  The y coordinate for the pixel to get components for. (Zero based)
r (ByRef parameter)
  RGB color space: Red
  Gray color space: Gray
  CMYK color space: Cyan
  (Byref Parameter that returns the result)
g (ByRef parameter)
  RGB color space: Green
  Gray color space: Not used
  CMYK color space: Magenta
  (Byref Parameter that returns the result)
b (ByRef parameter)
  RGB color space: Blue
  Gray color space: Not used
  CMYK color space: Yellow
  (Byref Parameter that returns the result)
k (ByRef parameter)
  RGB color space: Not used
  Gray color space: Not used
  CMYK color space: Key
  (Byref Parameter that returns the result)
a (ByRef parameter)
  Alpha channel
  (Byref Parameter that returns the result)

#### Remarks

#### See Also

RawBitmap Class