TypeLib Xojo support Plugin

RawBitmap.SetPixelComponents Method

Sets component floating point values for given pixel

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

Parameters

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

Remarks

See Also

RawBitmap Class