ImageBitMask.SetMaskPixel

ImageBitMask.SetMaskPixel method

Sets the opacity to the specified pixel.

public void SetMaskPixel(int x, int y, bool value)
ParameterTypeDescription
xInt32The x-coordinate of the pixel.
yInt32The y-coordinate of the pixel.
valueBooleantrue if the specified pixel is opaque; otherwise, false.

See Also