ImageMask.GetByteOpacity

ImageMask.GetByteOpacity method

获取指定像素的透明度,精确到字节。

public byte GetByteOpacity(int x, int y)
参数类型描述
xInt32像素的 x 坐标。
yInt32像素的 y 坐标。

返回值

字节值,表示指定像素的不透明度。

另请参见