Packages

 

com.aspose.imaging.fileformats.emf.emfplus.objects

Classes

com.aspose.imaging.fileformats.emf.emfplus.objects

Class EmfPlusColorCurveEffect

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusColorCurveEffect
    extends EmfPlusImageEffectsObjectType

    The ColorCurveEffect object specifies one of eight adjustments to the color curve of an image.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getAdjustmentIntensity()
      Gets or sets a 32-bit signed integer that specifies the intensity of the curve adjustment to the color channel specified by CurveChannel.
      int getCurveAdjustment()
      Gets or sets a 32-bit unsigned integer that specifies the curve adjustment to apply to the colors in bitmap.
      int getCurveChannel()
      Gets or sets a 32-bit unsigned integer that specifies the color channel to which the curve adjustment applies.
      void setAdjustmentIntensity(int value)
      Gets or sets a 32-bit signed integer that specifies the intensity of the curve adjustment to the color channel specified by CurveChannel.
      void setCurveAdjustment(int value)
      Gets or sets a 32-bit unsigned integer that specifies the curve adjustment to apply to the colors in bitmap.
      void setCurveChannel(int value)
      Gets or sets a 32-bit unsigned integer that specifies the color channel to which the curve adjustment applies.
    • Constructor Detail

      • EmfPlusColorCurveEffect

        public EmfPlusColorCurveEffect()
    • Method Detail

      • getCurveAdjustment

        public int getCurveAdjustment()

        Gets or sets a 32-bit unsigned integer that specifies the curve adjustment to apply to the colors in bitmap. This value MUST be defined in the CurveAdjustments enumeration (section 2.1.1.7).

      • setCurveAdjustment

        public void setCurveAdjustment(int value)

        Gets or sets a 32-bit unsigned integer that specifies the curve adjustment to apply to the colors in bitmap. This value MUST be defined in the CurveAdjustments enumeration (section 2.1.1.7).

      • getCurveChannel

        public int getCurveChannel()

        Gets or sets a 32-bit unsigned integer that specifies the color channel to which the curve adjustment applies. This value MUST be defined in the CurveChannel enumeration (section 2.1.1.8).

      • setCurveChannel

        public void setCurveChannel(int value)

        Gets or sets a 32-bit unsigned integer that specifies the color channel to which the curve adjustment applies. This value MUST be defined in the CurveChannel enumeration (section 2.1.1.8).

      • getAdjustmentIntensity

        public int getAdjustmentIntensity()

        Gets or sets a 32-bit signed integer that specifies the intensity of the curve adjustment to the color channel specified by CurveChannel. The ranges of meaningful values for this field vary according to the CurveAdjustment value, as follows: Exposure adjustment range: -255 ≤ value < 0 As the value decreases, the exposure of the image SHOULD decrease. 0 A value of 0 specifies that the exposure MUST NOT change. 0 < value ≤ 255 As the value increases, the exposure of the image SHOULD increase. Density adjustment range: -255 ≤ value < 0 As the value decreases, the density of the image SHOULD decrease, resulting in a darker image. 0 A value of 0 specifies that the density MUST NOT change. 0 < value ≤ 255 As the value increases, the density of the image SHOULD increase. Contrast adjustment range: -100 ≤ value < 0 As the value decreases, the contrast of the image SHOULD decrease. 0 A value of 0 specifies that the contrast MUST NOT change. 0 < value ≤ 100 As the value increases, the contrast of the image SHOULD increase. Highlight adjustment range: -100 ≤ value < 0 As the value decreases, the light areas of the image SHOULD appear darker. 0 A value of 0 specifies that the highlight MUST NOT change. 0 < value ≤ 100 As the value increases, the light areas of the image SHOULD appear lighter. Shadow adjustment range: -100 ≤ value < 0 As the value decreases, the dark areas of the image SHOULD appear darker. 0 A value of 0 specifies that the shadow MUST NOT change. 0 < value ≤ 100 As the value increases, the dark areas of the image SHOULD appear lighter. White saturation adjustment range: 0 — 255 As the value increases, the upper limit of the range of color channel intensities increases. Black saturation adjustment range: 0 — 255 As the value increases, the lower limit of the range of color channel intensities increases.

      • setAdjustmentIntensity

        public void setAdjustmentIntensity(int value)

        Gets or sets a 32-bit signed integer that specifies the intensity of the curve adjustment to the color channel specified by CurveChannel. The ranges of meaningful values for this field vary according to the CurveAdjustment value, as follows: Exposure adjustment range: -255 ≤ value < 0 As the value decreases, the exposure of the image SHOULD decrease. 0 A value of 0 specifies that the exposure MUST NOT change. 0 < value ≤ 255 As the value increases, the exposure of the image SHOULD increase. Density adjustment range: -255 ≤ value < 0 As the value decreases, the density of the image SHOULD decrease, resulting in a darker image. 0 A value of 0 specifies that the density MUST NOT change. 0 < value ≤ 255 As the value increases, the density of the image SHOULD increase. Contrast adjustment range: -100 ≤ value < 0 As the value decreases, the contrast of the image SHOULD decrease. 0 A value of 0 specifies that the contrast MUST NOT change. 0 < value ≤ 100 As the value increases, the contrast of the image SHOULD increase. Highlight adjustment range: -100 ≤ value < 0 As the value decreases, the light areas of the image SHOULD appear darker. 0 A value of 0 specifies that the highlight MUST NOT change. 0 < value ≤ 100 As the value increases, the light areas of the image SHOULD appear lighter. Shadow adjustment range: -100 ≤ value < 0 As the value decreases, the dark areas of the image SHOULD appear darker. 0 A value of 0 specifies that the shadow MUST NOT change. 0 < value ≤ 100 As the value increases, the dark areas of the image SHOULD appear lighter. White saturation adjustment range: 0 — 255 As the value increases, the upper limit of the range of color channel intensities increases. Black saturation adjustment range: 0 — 255 As the value increases, the lower limit of the range of color channel intensities increases.