ImageGrayscaleMask.IsTransparent

ImageGrayscaleMask.IsTransparent method

Checks if the specified pixel is transparent.

public bool IsTransparent(int x, int y)
ParameterTypeDescription
xInt32The x-coordinate of the pixel.
yInt32The y-coordinate of the pixel.

Return Value

true if the specified pixel is transparent; otherwise, false.

See Also