Packages

 

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

Class EmfPlusPixelOffsetMode

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


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

    The PixelOffsetMode enumeration defines how pixels are offset, which specifies the trade-off between rendering speed and quality.

    • 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 byte PixelOffsetModeDefault
      Pixels are centered on integer coordinates, specifying speed over quality.
      static byte PixelOffsetModeHalf
      Pixels are centered on half-integer coordinates, which means that the pixel covers the area from 0 to 1 on both the x and y axes and its center is at (0.5,0.5).
      static byte PixelOffsetModeHighQuality
      Pixels are centered on half-integer coordinates, as with PixelOffsetModeHalf.
      static byte PixelOffsetModeHighSpeed
      Pixels are centered on integer coordinates, as with PixelOffsetModeNone.
      static byte PixelOffsetModeNone
      Pixels are centered on the origin, which means that the pixel covers the area from -0.5 to 0.5 on both the x and y axes and its center is at (0,0).
      • 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

      • PixelOffsetModeDefault

        public static final byte PixelOffsetModeDefault

        Pixels are centered on integer coordinates, specifying speed over quality.

        See Also:
        Constant Field Values
      • PixelOffsetModeHighSpeed

        public static final byte PixelOffsetModeHighSpeed

        Pixels are centered on integer coordinates, as with PixelOffsetModeNone. Higher speed at the expense of quality is specified.

        See Also:
        Constant Field Values
      • PixelOffsetModeHighQuality

        public static final byte PixelOffsetModeHighQuality

        Pixels are centered on half-integer coordinates, as with PixelOffsetModeHalf. Higher quality at the expense of speed is specified.

        See Also:
        Constant Field Values
      • PixelOffsetModeNone

        public static final byte PixelOffsetModeNone

        Pixels are centered on the origin, which means that the pixel covers the area from -0.5 to 0.5 on both the x and y axes and its center is at (0,0).

        See Also:
        Constant Field Values
      • PixelOffsetModeHalf

        public static final byte PixelOffsetModeHalf

        Pixels are centered on half-integer coordinates, which means that the pixel covers the area from 0 to 1 on both the x and y axes and its center is at (0.5,0.5). By offsetting pixels during rendering, the render quality can be improved at the cost of render speed.

        See Also:
        Constant Field Values