ImageMask.GetByteOpacity

ImageMask.GetByteOpacity method

Gets the opacity of the specified pixel with byte precision.

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

Return Value

Byte value, representing the opacity of the specified pixel.

See Also