System::Drawing::Image::IsAlphaPixelFormat 方法
Image::IsAlphaPixelFormat method
确定指定的像素格式是否包含 alpha 信息。
static bool System::Drawing::Image::IsAlphaPixelFormat(Imaging::PixelFormat pixfmt)
| 参数 | 类型 | 描述 |
|---|---|---|
| pixfmt | Imaging::PixelFormat | 要测试的像素格式 |
ReturnValue
如果 pixfmt 包含 alpha 信息,则为 true,否则为 false
另见
- Enum PixelFormat
- Class Image
- Namespace System::Drawing
- Library Aspose.Font for C++