ImageData.setPixel

Sets the pixel value at offset <code>x</code> in scanline <code>y</code> in the receiver's data.

@param x the x coordinate of the pixel to set @param y the y coordinate of the pixel to set @param pixelValue the value to set the pixel to

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if x or y is out of bounds</li> </ul> @exception SWTException <ul> <li>ERROR_UNSUPPORTED_DEPTH if the depth is not one of 1, 2, 4, 8, 16, 24 or 32</li> </ul>

class ImageData
void
setPixel
(
int x
,
int y
,
)

Meta