public final class WmfBinaryRasterOperation
extends com.aspose.ms.System.Enum
The BinaryRasterOperation Enumeration section lists the binary raster-operation codes. Raster operation codes define how metafile processing combines the bits from the selected pen with the bits in the destination bitmap.
Each raster-operation code represents a Boolean operation in which the values of the pixels in the selected pen and the destination bitmap are combined. Following are the two operands used in these operations. Operand Meaning P Selected pen D Destination bitmap a Bitwise AND n Bitwise NOT (inverse) o Bitwise OR x Bitwise exclusive OR (XOR)
Modifier and Type | Field and Description |
---|---|
static int |
Black
0, Pixel is always 0.
|
static int |
Copypen
P, Pixel is the pen color.
|
static int |
Masknotpen
DPna, Pixel is a combination of the screen color and the inverse of the pen color.
|
static int |
Maskpen
DPa, Pixel is a combination of the colors common to both the pen and the screen.
|
static int |
Maskpennot
PDna, Pixel is a combination of the colors common to both the pen and the
inverse of the screen.
|
static int |
Mergenotpen
DPno, Pixel is a combination of the colors common to both the screen and
the inverse of the pen.
|
static int |
Mergepen
DPo, Pixel is a combination of the pen color and the screen color.
|
static int |
Mergepennot
PDno, Pixel is a combination of the pen color and the inverse of the
screen color.
|
static int |
Nop
D, Pixel remains unchanged.
|
static int |
Not
Dn, Pixel is the inverse of the screen color.
|
static int |
Notcopypen
Pn, Pixel is the inverse of the pen color.
|
static int |
Notmaskpen
DPan, Pixel is the inverse of the MASKPEN color.
|
static int |
Notmergepen
DPon, Pixel is the inverse of the MERGEPEN color
|
static int |
Notxorpen
DPxn, Pixel is the inverse of the XORPEN color.
|
static int |
White
1, Pixel is always 1
|
static int |
Xorpen
DPx, Pixel is a combination of the colors in the pen or in the screen, but not in both.
|
Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, getValues, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
public static final int Black
0, Pixel is always 0.
public static final int Notmergepen
DPon, Pixel is the inverse of the MERGEPEN color
public static final int Masknotpen
DPna, Pixel is a combination of the screen color and the inverse of the pen color.
public static final int Notcopypen
Pn, Pixel is the inverse of the pen color.
public static final int Maskpennot
PDna, Pixel is a combination of the colors common to both the pen and the inverse of the screen.
public static final int Not
Dn, Pixel is the inverse of the screen color.
public static final int Xorpen
DPx, Pixel is a combination of the colors in the pen or in the screen, but not in both.
public static final int Notmaskpen
DPan, Pixel is the inverse of the MASKPEN color.
public static final int Maskpen
DPa, Pixel is a combination of the colors common to both the pen and the screen.
public static final int Notxorpen
DPxn, Pixel is the inverse of the XORPEN color.
public static final int Nop
D, Pixel remains unchanged.
public static final int Mergenotpen
DPno, Pixel is a combination of the colors common to both the screen and the inverse of the pen.
public static final int Copypen
P, Pixel is the pen color.
public static final int Mergepennot
PDno, Pixel is a combination of the pen color and the inverse of the screen color.
public static final int Mergepen
DPo, Pixel is a combination of the pen color and the screen color.
public static final int White
1, Pixel is always 1