ImageThemingUtilities.ClearOptOutPixel 方法

定义

重载

ClearOptOutPixel(Byte*, Int32, Int32, Boolean)
ClearOptOutPixel(Byte[], Int32, Int32, Boolean)

清除位图中的 "选择退出" 像素,将其黑色用于24位或更小的位图,并使32位位图透明。 具有单独掩码的位图必须自行处理掩码位图更新。

ClearOptOutPixel(Byte*, Int32, Int32, Boolean)

public:
 static void ClearOptOutPixel(System::Byte* pPixelBytes, int width, int height, bool isTopDownBitmap);
 static void ClearOptOutPixel(byte* pPixelBytes, int width, int height, bool isTopDownBitmap);
public static void ClearOptOutPixel (byte* pPixelBytes, int width, int height, bool isTopDownBitmap);
static member ClearOptOutPixel : nativeptr<byte> * int * int * bool -> unit

参数

pPixelBytes
Byte*
width
Int32
height
Int32
isTopDownBitmap
Boolean

适用于

ClearOptOutPixel(Byte[], Int32, Int32, Boolean)

清除位图中的 "选择退出" 像素,将其黑色用于24位或更小的位图,并使32位位图透明。 具有单独掩码的位图必须自行处理掩码位图更新。

public:
 static void ClearOptOutPixel(cli::array <System::Byte> ^ pixels, int width, int height, bool isTopDownBitmap);
public:
 static void ClearOptOutPixel(Platform::Array <byte> ^ pixels, int width, int height, bool isTopDownBitmap);
 static void ClearOptOutPixel(std::Array <byte> const & pixels, int width, int height, bool isTopDownBitmap);
public static void ClearOptOutPixel (byte[] pixels, int width, int height, bool isTopDownBitmap);
static member ClearOptOutPixel : byte[] * int * int * bool -> unit
Public Sub ClearOptOutPixel (pixels As Byte(), width As Integer, height As Integer, isTopDownBitmap As Boolean)

参数

pixels
Byte[]

位图的像素

width
Int32

位图的宽度

height
Int32

位图的高度

isTopDownBitmap
Boolean

指示位图的像素是否有自顶向下的排列方式

适用于