Packages

 

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

Classes

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

Class EmfPlusColorBalanceEffect

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusColorBalanceEffect
    extends EmfPlusImageEffectsObjectType

    The ColorBalanceEffect object specifies adjustments to the relative amounts of red, green, and blue in an image.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getCyanRed()
      Gets or sets a 32-bit signed integer that specifies a change in the amount of red in the image.
      int getMagentaGreen()
      Gets or sets a 32-bit signed integer that specifies a change in the amount of green in the image.
      int getYellowBlue()
      Gets or sets a 32-bit signed integer that specifies a change in the amount of blue in the image.
      void setCyanRed(int value)
      Gets or sets a 32-bit signed integer that specifies a change in the amount of red in the image.
      void setMagentaGreen(int value)
      Gets or sets a 32-bit signed integer that specifies a change in the amount of green in the image.
      void setYellowBlue(int value)
      Gets or sets a 32-bit signed integer that specifies a change in the amount of blue in the image.
    • Constructor Detail

      • EmfPlusColorBalanceEffect

        public EmfPlusColorBalanceEffect()
    • Method Detail

      • getCyanRed

        public int getCyanRed()

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

      • setCyanRed

        public void setCyanRed(int value)

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

      • getMagentaGreen

        public int getMagentaGreen()

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

      • setMagentaGreen

        public void setMagentaGreen(int value)

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

      • getYellowBlue

        public int getYellowBlue()

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

      • setYellowBlue

        public void setYellowBlue(int value)

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