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。