Method IsTransparent
IsTransparent(int, int, byte)
Returns true
if the given pixel is transparent, i.e. either has the mask
color if this image has a mask or if this image has alpha channel and alpha value of
this pixel is strictly less than threshold.
public bool IsTransparent(int x, int y, byte threshold = 128)
Parameters
x
intX coordinate of the pixel.
y
intY coordinate of the pixel.
threshold
byteAlpha value treshold.