Packages

 

com.aspose.imaging.fileformats.wmf.consts

Class WmfBinaryRasterOperation

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.imaging.fileformats.wmf.consts.WmfBinaryRasterOperation


  • 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)

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      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.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        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
    • Field Detail

      • Notmergepen

        public static final int Notmergepen

        DPon, Pixel is the inverse of the MERGEPEN color

        See Also:
        Constant Field Values
      • Masknotpen

        public static final int Masknotpen

        DPna, Pixel is a combination of the screen color and the inverse of the pen color.

        See Also:
        Constant Field Values
      • Notcopypen

        public static final int Notcopypen

        Pn, Pixel is the inverse of the pen color.

        See Also:
        Constant Field Values
      • Maskpennot

        public static final int Maskpennot

        PDna, Pixel is a combination of the colors common to both the pen and the inverse of the screen.

        See Also:
        Constant Field Values
      • Not

        public static final int Not

        Dn, Pixel is the inverse of the screen color.

        See Also:
        Constant Field Values
      • Xorpen

        public static final int Xorpen

        DPx, Pixel is a combination of the colors in the pen or in the screen, but not in both.

        See Also:
        Constant Field Values
      • Notmaskpen

        public static final int Notmaskpen

        DPan, Pixel is the inverse of the MASKPEN color.

        See Also:
        Constant Field Values
      • Maskpen

        public static final int Maskpen

        DPa, Pixel is a combination of the colors common to both the pen and the screen.

        See Also:
        Constant Field Values
      • Notxorpen

        public static final int Notxorpen

        DPxn, Pixel is the inverse of the XORPEN color.

        See Also:
        Constant Field Values
      • Mergenotpen

        public static final int Mergenotpen

        DPno, Pixel is a combination of the colors common to both the screen and the inverse of the pen.

        See Also:
        Constant Field Values
      • Mergepennot

        public static final int Mergepennot

        PDno, Pixel is a combination of the pen color and the inverse of the screen color.

        See Also:
        Constant Field Values
      • Mergepen

        public static final int Mergepen

        DPo, Pixel is a combination of the pen color and the screen color.

        See Also:
        Constant Field Values