public enum HwmfBinaryRasterOp extends java.lang.Enum<HwmfBinaryRasterOp>
| Operand | Meaning | 
|---|---|
| P | Selected pen | 
| D | Destination bitmap | 
| Operand | Meaning | 
|---|---|
| a | Bitwise AND | 
| n | Bitwise NOT (inverse) | 
| o | Bitwise OR | 
| x | Bitwise exclusive OR (XOR) | 
| P | D | DPo | DPan | 
|---|---|---|---|
| 0 | 0 | 0 | 1 | 
| 0 | 1 | 1 | 1 | 
| 1 | 0 | 1 | 1 | 
| 1 | 1 | 1 | 0 | 
| Enum Constant and Description | 
|---|
| R2_BLACK0, Pixel is always 0 | 
| R2_COPYPENP, Pixel is the pen color. | 
| R2_MASKNOTPENDPna, Pixel is a combination of the screen color and the inverse of the pen color. | 
| R2_MASKPENDPa, Pixel is a combination of the colors common to both the pen and the screen. | 
| R2_MASKPENNOTPDna, Pixel is a combination of the colors common to both the pen and the inverse of the screen. | 
| R2_MERGENOTPENDPno, Pixel is a combination of the colors common to both the screen and the inverse of the pen. | 
| R2_MERGEPENDPo, Pixel is a combination of the pen color and the screen color. | 
| R2_MERGEPENNOTPDno, Pixel is a combination of the pen color and the inverse of the screen color. | 
| R2_NOPD, Pixel remains unchanged. | 
| R2_NOTDn, Pixel is the inverse of the screen color. | 
| R2_NOTCOPYPENPn, Pixel is the inverse of the pen color. | 
| R2_NOTMASKPENDPan, Pixel is the inverse of the R2_MASKPEN color. | 
| R2_NOTMERGEPENDPon, Pixel is the inverse of the R2_MERGEPEN color. | 
| R2_NOTXORPENDPxn, Pixel is the inverse of the R2_XORPEN color. | 
| R2_WHITE1, Pixel is always 1 | 
| R2_XORPENDPx, Pixel is a combination of the colors in the pen or in the screen, but not in both. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getOpIndex() | 
| void | process(int[] srcPixels,
       int[] dstPixels) | 
| static HwmfBinaryRasterOp | valueOf(int opIndex) | 
| static HwmfBinaryRasterOp | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static HwmfBinaryRasterOp[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final HwmfBinaryRasterOp R2_BLACK
public static final HwmfBinaryRasterOp R2_NOTMERGEPEN
public static final HwmfBinaryRasterOp R2_MASKNOTPEN
public static final HwmfBinaryRasterOp R2_NOTCOPYPEN
public static final HwmfBinaryRasterOp R2_MASKPENNOT
public static final HwmfBinaryRasterOp R2_NOT
public static final HwmfBinaryRasterOp R2_XORPEN
public static final HwmfBinaryRasterOp R2_NOTMASKPEN
public static final HwmfBinaryRasterOp R2_MASKPEN
public static final HwmfBinaryRasterOp R2_NOTXORPEN
public static final HwmfBinaryRasterOp R2_NOP
public static final HwmfBinaryRasterOp R2_MERGENOTPEN
public static final HwmfBinaryRasterOp R2_COPYPEN
public static final HwmfBinaryRasterOp R2_MERGEPENNOT
public static final HwmfBinaryRasterOp R2_MERGEPEN
public static final HwmfBinaryRasterOp R2_WHITE
public static HwmfBinaryRasterOp[] values()
for (HwmfBinaryRasterOp c : HwmfBinaryRasterOp.values()) System.out.println(c);
public static HwmfBinaryRasterOp valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getOpIndex()
public static HwmfBinaryRasterOp valueOf(int opIndex)
public void process(int[] srcPixels,
                    int[] dstPixels)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.