CopyPixelOperation 枚举
定义
确定复制像素操作中的源颜色如何与目标颜色组合生成最终颜色。Determines how the source color in a copy pixel operation is combined with the destination color to result in a final color.
public enum class CopyPixelOperation
[System.Runtime.InteropServices.ComVisible(true)]
public enum CopyPixelOperation
type CopyPixelOperation =
Public Enum CopyPixelOperation
- 继承
- 属性
字段
Blackness | 66 | 通过使用物理调色板中与索引 0 关联的颜色来填充目标区域。The destination area is filled by using the color associated with index 0 in the physical palette. (对于默认的物理调色板,该颜色为黑色。)(This color is black for the default physical palette.) |
CaptureBlt | 1073741824 | 生成的图像中包含您的窗口上层叠的那些窗口。Windows that are layered on top of your window are included in the resulting image. 默认情况下,该图像仅包含您的窗口。By default, the image contains only your window. 请注意,这通常无法用于打印设备上下文。Note that this generally cannot be used for printing device contexts. |
DestinationInvert | 5570569 | 目标区域已逆转。The destination area is inverted. |
MergeCopy | 12583114 | 使用布尔运算符 |
MergePaint | 12255782 | 通过使用布尔运算符 |
NoMirrorBitmap | -2147483648 | 位图未映射。The bitmap is not mirrored. |
NotSourceCopy | 3342344 | 逆转的源区域已复制到目标。The inverted source area is copied to the destination. |
NotSourceErase | 1114278 | 使用布尔运算符 |
PatCopy | 15728673 | 目标设备上下文中当前选定的画笔被复制到目标位图。The brush currently selected in the destination device context is copied to the destination bitmap. |
PatInvert | 5898313 | 使用布尔运算符 |
PatPaint | 16452105 | 使用布尔运算符 |
SourceAnd | 8913094 | 使用布尔运算符 |
SourceCopy | 13369376 | 源区域已直接复制到目标区域。The source area is copied directly to the destination area. |
SourceErase | 4457256 | 使用布尔运算符 |
SourceInvert | 6684742 | 使用布尔运算符 |
SourcePaint | 15597702 | 使用布尔运算符 |
Whiteness | 16711778 | 通过使用物理调色板中与索引 1 关联的颜色来填充目标区域。The destination area is filled by using the color associated with index 1 in the physical palette. (对于默认的物理调色板,该颜色为白色。)(This color is white for the default physical palette.) |
注解
枚举由Graphics类的CopyFromScreen方法使用。 CopyPixelOperationThe CopyPixelOperation enumeration is used by the CopyFromScreen method of the Graphics class.