Packages

 

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

Classes

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

Class EmfPlusTintEffect

  • All Implemented Interfaces:
    Cloneable


    public final class EmfPlusTintEffect
    extends EmfPlusImageEffectsObjectType

    The TintEffect object specifies an addition of black or white to a specified hue in an image.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getAmount()
      Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened.
      int getHue()
      Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied.
      void setAmount(int value)
      Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened.
      void setHue(int value)
      Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied.
    • Constructor Detail

      • EmfPlusTintEffect

        public EmfPlusTintEffect()
    • Method Detail

      • getHue

        public int getHue()

        Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied. -180 ≤ value < 0 The color at a specified counter-clockwise rotation of the color wheel, starting from blue. 0 A value of 0 specifies the color blue on the color wheel. 0 < value ≤ 180 The color at a specified clockwise rotation of the color wheel, starting from blue

      • setHue

        public void setHue(int value)

        Gets or sets a 32-bit signed integer that specifies the hue to which the tint effect is applied. -180 ≤ value < 0 The color at a specified counter-clockwise rotation of the color wheel, starting from blue. 0 A value of 0 specifies the color blue on the color wheel. 0 < value ≤ 180 The color at a specified clockwise rotation of the color wheel, starting from blue

      • getAmount

        public int getAmount()

        Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened. -100 ≤ value < 0 Negative values specify how much the hue is weakened, which equates to the addition of black. 0 A value of 0 specifies that the tint MUST NOT change. 0 < value ≤ 100 Positive values specify how much the hue is strengthened, which equates to the addition of white.

        Value: The amount.
      • setAmount

        public void setAmount(int value)

        Gets or sets A 32-bit signed integer that specifies how much the hue is strengthened or weakened. -100 ≤ value < 0 Negative values specify how much the hue is weakened, which equates to the addition of black. 0 A value of 0 specifies that the tint MUST NOT change. 0 < value ≤ 100 Positive values specify how much the hue is strengthened, which equates to the addition of white.

        Value: The amount.