void SetPixelAlpha(unsigned x, unsigned y, UByte alpha);
SetPixelAlpha sets an alpha channel of a pixel at specified coordinates. Other image channels are not modified. This method should not be used for compressed image formats.
Parameters |
Description |
unsigned x |
The x coordinate. |
unsigned y |
The y coordinate. |
UByte alpha |
The alpha channel of the color. |