Packages

 

com.aspose.imaging.fileformats.emf.emf.consts

Class EmfStretchMode

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


  • public final class EmfStretchMode
    extends com.aspose.ms.System.Enum

    The StretchMode enumeration is used to specify how color data is added to or removed from bitmaps that are stretched or compressed.

    • 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 STRETCH_ANDSCANS
      Performs a Boolean AND operation using the color values for the eliminated and existing pixels.
      static int STRETCH_DELETESCANS
      Deletes the pixels.
      static int STRETCH_HALFTONE
      Maps pixels from the source rectangle into blocks of pixels in the destination rectangle.
      static int STRETCH_ORSCANS
      Performs a Boolean OR operation using the color values for the eliminated and existing pixels.
      • 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

      • STRETCH_ANDSCANS

        public static final int STRETCH_ANDSCANS

        Performs a Boolean AND operation using the color values for the eliminated and existing pixels. If the bitmap is a monochrome bitmap, this mode preserves black pixels at the expense of white pixels

        See Also:
        Constant Field Values
      • STRETCH_ORSCANS

        public static final int STRETCH_ORSCANS

        Performs a Boolean OR operation using the color values for the eliminated and existing pixels. If the bitmap is a monochrome bitmap, this mode preserves white pixels at the expense of black pixels.

        See Also:
        Constant Field Values
      • STRETCH_DELETESCANS

        public static final int STRETCH_DELETESCANS

        Deletes the pixels. This mode deletes all eliminated lines of pixels without trying to preserve their information.

        See Also:
        Constant Field Values
      • STRETCH_HALFTONE

        public static final int STRETCH_HALFTONE

        Maps pixels from the source rectangle into blocks of pixels in the destination rectangle. The average color over the destination block of pixels approximates the color of the source pixels.

        See Also:
        Constant Field Values