Packages

 

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

Classes

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

Class EmfPlusBrightnessContrastEffect

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusBrightnessContrastEffect
    extends EmfPlusImageEffectsObjectType

    The BrightnessContrastEffect object specifies an expansion or contraction of the lightest and darkest areas of an image.

    • Constructor Detail

      • EmfPlusBrightnessContrastEffect

        public EmfPlusBrightnessContrastEffect()
    • Method Detail

      • getBrightnessLevel

        public int getBrightnessLevel()

        Gets or sets a 32-bit signed integer that specifies the brightness level. This value MUST be in the range -255 through 255, with effects as follows: -255 ≤ value < 0 As the value decreases, the brightness of the image SHOULD decrease. 0 A value of 0 specifies that the brightness MUST NOT change. 0 < value ≤ 255 As the value increases, the brightness of the image SHOULD increase.

      • setBrightnessLevel

        public void setBrightnessLevel(int value)

        Gets or sets a 32-bit signed integer that specifies the brightness level. This value MUST be in the range -255 through 255, with effects as follows: -255 ≤ value < 0 As the value decreases, the brightness of the image SHOULD decrease. 0 A value of 0 specifies that the brightness MUST NOT change. 0 < value ≤ 255 As the value increases, the brightness of the image SHOULD increase.

      • getContrastLevel

        public int getContrastLevel()

        Gets or sets a 32-bit signed integer that specifies the contrast level. This value MUST be in the range -100 through 100, with effects as follows: -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.

      • setContrastLevel

        public void setContrastLevel(int value)

        Gets or sets a 32-bit signed integer that specifies the contrast level. This value MUST be in the range -100 through 100, with effects as follows: -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.