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
xintX coordinate of the pixel.
yintY coordinate of the pixel.
thresholdbyteAlpha value treshold.