WmfBinaryRasterOperation

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class WmfBinaryRasterOperation extends System.Enum

BinaryRasterOperation 枚举部分列出了二进制光栅操作代码。光栅操作代码定义了元文件处理如何将选定笔的位与目标位图的位组合。


每个光栅操作代码表示一种布尔运算,其中选定笔和目标位图的像素值被组合。以下是这些运算中使用的两个操作数。操作数 含义 P 选定的笔 D 目标位图 a 按位与 n 按位非(取反) o 按位或 x 按位异或 (XOR)

字段

字段描述
Black0,像素始终为 0。
NotmergepenDPon,像素是 MERGEPEN 颜色的反相。
MasknotpenDPna,像素是屏幕颜色与笔颜色的反相的组合。
NotcopypenPn,像素是笔颜色的反相。
MaskpennotPDna,像素是笔颜色和屏幕颜色的反相共同拥有的颜色的组合。
NotDn,像素是屏幕颜色的反相。
XorpenDPx,像素是笔颜色或屏幕颜色中的颜色组合,但不同时包含两者。
NotmaskpenDPan,像素是MASKPEN颜色的反相。
MaskpenDPa,像素是笔颜色和屏幕颜色共同拥有的颜色的组合。
NotxorpenDPxn,像素是XORPEN颜色的反相。
NopD,像素保持不变。
MergenotpenDPno,像素是屏幕颜色和笔颜色的反相共同拥有的颜色的组合。
CopypenP,像素是笔颜色。
MergepennotPDno,像素是笔颜色与屏幕颜色的反相的组合。
MergepenDPo,像素是笔颜色与屏幕颜色的组合。
White1,像素始终为1

Black

public static final int Black

0,像素始终为 0。

Notmergepen

public static final int Notmergepen

DPon,像素是 MERGEPEN 颜色的反相。

Masknotpen

public static final int Masknotpen

DPna,像素是屏幕颜色与笔颜色的反相的组合。

Notcopypen

public static final int Notcopypen

Pn,像素是笔颜色的反相。

Maskpennot

public static final int Maskpennot

PDna,像素是笔颜色和屏幕颜色的反相共同拥有的颜色的组合。

Not

public static final int Not

Dn,像素是屏幕颜色的反相。

Xorpen

public static final int Xorpen

DPx,像素是笔颜色或屏幕颜色中的颜色组合,但不同时包含两者。

Notmaskpen

public static final int Notmaskpen

DPan,像素是MASKPEN颜色的反相。

Maskpen

public static final int Maskpen

DPa,像素是笔颜色和屏幕颜色共同拥有的颜色的组合。

Notxorpen

public static final int Notxorpen

DPxn,像素是XORPEN颜色的反相。

Nop

public static final int Nop

D,像素保持不变。

Mergenotpen

public static final int Mergenotpen

DPno,像素是屏幕颜色和笔颜色的反相共同拥有的颜色的组合。

Copypen

public static final int Copypen

P,像素是笔颜色。

Mergepennot

public static final int Mergepennot

PDno,像素是笔颜色与屏幕颜色的反相的组合。

Mergepen

public static final int Mergepen

DPo,像素是笔颜色与屏幕颜色的组合。

White

public static final int White

1,像素始终为1