Packages

 

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

Classes

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

Class EmfPlusLevelsEffect

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusLevelsEffect
    extends EmfPlusImageEffectsObjectType

    The LevelsEffect object specifies adjustments to the highlights, midtones, and shadows of an image.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getHighlight()
      Gets or sets the Specifies how much to lighten the highlights of an image.
      int getMidTone()
      Gets or sets the Specifies how much to lighten or darken the midtones of an image.
      int getShadow()
      Gets or sets the Specifies how much to darken the shadows of an image.
      void setHighlight(int value)
      Gets or sets the Specifies how much to lighten the highlights of an image.
      void setMidTone(int value)
      Gets or sets the Specifies how much to lighten or darken the midtones of an image.
      void setShadow(int value)
      Gets or sets the Specifies how much to darken the shadows of an image.
    • Constructor Detail

      • EmfPlusLevelsEffect

        public EmfPlusLevelsEffect()
    • Method Detail

      • getHighlight

        public int getHighlight()

        Gets or sets the Specifies how much to lighten the highlights of an image. The color channel values at the high end of the intensity range are altered more than values near the middle or low ends, which means an image can be lightened without losing the contrast between the darker portions of the image. 0 ≤ value < Specifies that highlights with a percent of intensity above this threshold SHOULD 100 be increased. 100 Specifies that highlights MUST NOT change.

        Value: The highlight.
      • setHighlight

        public void setHighlight(int value)

        Gets or sets the Specifies how much to lighten the highlights of an image. The color channel values at the high end of the intensity range are altered more than values near the middle or low ends, which means an image can be lightened without losing the contrast between the darker portions of the image. 0 ≤ value < Specifies that highlights with a percent of intensity above this threshold SHOULD 100 be increased. 100 Specifies that highlights MUST NOT change.

        Value: The highlight.
      • getMidTone

        public int getMidTone()

        Gets or sets the Specifies how much to lighten or darken the midtones of an image. Color channel values in the middle of the intensity range are altered more than values near the high or low ends, which means an image can be lightened or darkened without losing the contrast between the darkest and lightest portions of the image. -100 ≤ value < 0 Specifies that midtones are made darker. 0 Specifies that midtones MUST NOT change. 0 < value ≤ 100 Specifies that midtones are made lighter.

        Value: The mid tone.
      • setMidTone

        public void setMidTone(int value)

        Gets or sets the Specifies how much to lighten or darken the midtones of an image. Color channel values in the middle of the intensity range are altered more than values near the high or low ends, which means an image can be lightened or darkened without losing the contrast between the darkest and lightest portions of the image. -100 ≤ value < 0 Specifies that midtones are made darker. 0 Specifies that midtones MUST NOT change. 0 < value ≤ 100 Specifies that midtones are made lighter.

        Value: The mid tone.
      • getShadow

        public int getShadow()

        Gets or sets the Specifies how much to darken the shadows of an image. Color channel values at the low end of the intensity range are altered more than values near the middle or high ends, which means an image can be darkened without losing the contrast between the lighter portions of the image. 0 Specifies that shadows MUST NOT change. 0 < value ≤ 100 Specifies that shadows with a percent of intensity below this threshold are made darker.

        Value: The shadow.
      • setShadow

        public void setShadow(int value)

        Gets or sets the Specifies how much to darken the shadows of an image. Color channel values at the low end of the intensity range are altered more than values near the middle or high ends, which means an image can be darkened without losing the contrast between the lighter portions of the image. 0 Specifies that shadows MUST NOT change. 0 < value ≤ 100 Specifies that shadows with a percent of intensity below this threshold are made darker.

        Value: The shadow.