Packages

 

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

Class EmfColorAdjustment

  • All Implemented Interfaces:
    Cloneable


    public final class EmfColorAdjustment
    extends EmfObject

    The ColorAdjustment object defines values for adjusting the colors in source bitmaps in bit-block transfers.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      short getBlueGamma()
      Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the blue primary of the source colors.
      short getBrightness()
      Gets or sets a 16-bit signed integer that specifies the amount of brightness to be applied to the source object.
      short getColorfullness()
      Gets or sets a 16-bit signed integer that specifies the amount of colorfulness to be applied to the source object.
      short getContrast()
      Gets or sets a 16-bit signed integer that specifies the amount of contrast to be applied to the source object.
      short getGreenGamma()
      Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the green primary of the source colors.
      int getIlluminantIndex()
      Gets or sets a 16-bit unsigned integer that specifies the type of standard light source under which the image is viewed, from the Illuminant enumeration (section 2.1.19).
      short getRedGamma()
      Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the red primary of the source colors.
      short getRedGreenTint()
      Gets or sets 16-bit signed integer that specifies the amount of red or green tint adjustment to be applied to the source object.
      short getReferenceBlack()
      Gets or sets a 16-bit unsigned integer that specifies the black reference for the source colors.
      short getReferenceWhite()
      Gets or sets a 16-bit unsigned integer that specifies the white reference for the source colors.
      short getSize()
      Gets or sets a 16-bit unsigned integer that specifies the size in bytes of this object.
      int getValues()
      Gets or sets a 16-bit unsigned integer that specifies how to prepare the output image.
      void setBlueGamma(short value)
      Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the blue primary of the source colors.
      void setBrightness(short value)
      Gets or sets a 16-bit signed integer that specifies the amount of brightness to be applied to the source object.
      void setColorfullness(short value)
      Gets or sets a 16-bit signed integer that specifies the amount of colorfulness to be applied to the source object.
      void setContrast(short value)
      Gets or sets a 16-bit signed integer that specifies the amount of contrast to be applied to the source object.
      void setGreenGamma(short value)
      Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the green primary of the source colors.
      void setIlluminantIndex(int value)
      Gets or sets a 16-bit unsigned integer that specifies the type of standard light source under which the image is viewed, from the Illuminant enumeration (section 2.1.19).
      void setRedGamma(short value)
      Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the red primary of the source colors.
      void setRedGreenTint(short value)
      Gets or sets 16-bit signed integer that specifies the amount of red or green tint adjustment to be applied to the source object.
      void setReferenceBlack(short value)
      Gets or sets a 16-bit unsigned integer that specifies the black reference for the source colors.
      void setReferenceWhite(short value)
      Gets or sets a 16-bit unsigned integer that specifies the white reference for the source colors.
      void setSize(short value)
      Gets or sets a 16-bit unsigned integer that specifies the size in bytes of this object.
      void setValues(int value)
      Gets or sets a 16-bit unsigned integer that specifies how to prepare the output image.
    • Constructor Detail

      • EmfColorAdjustment

        public EmfColorAdjustment()
    • Method Detail

      • getSize

        public short getSize()

        Gets or sets a 16-bit unsigned integer that specifies the size in bytes of this object. This MUST be 0x0018.

      • setSize

        public void setSize(short value)

        Gets or sets a 16-bit unsigned integer that specifies the size in bytes of this object. This MUST be 0x0018.

      • getValues

        public int getValues()

        Gets or sets a 16-bit unsigned integer that specifies how to prepare the output image. This field can be set to NULL or to any combination of values in the ColorAdjustment enumeration (section 2.1.5).

      • setValues

        public void setValues(int value)

        Gets or sets a 16-bit unsigned integer that specifies how to prepare the output image. This field can be set to NULL or to any combination of values in the ColorAdjustment enumeration (section 2.1.5).

      • getIlluminantIndex

        public int getIlluminantIndex()

        Gets or sets a 16-bit unsigned integer that specifies the type of standard light source under which the image is viewed, from the Illuminant enumeration (section 2.1.19).

      • setIlluminantIndex

        public void setIlluminantIndex(int value)

        Gets or sets a 16-bit unsigned integer that specifies the type of standard light source under which the image is viewed, from the Illuminant enumeration (section 2.1.19).

      • getRedGamma

        public short getRedGamma()

        Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the red primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.

      • setRedGamma

        public void setRedGamma(short value)

        Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the red primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.

      • getGreenGamma

        public short getGreenGamma()

        Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the green primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.

      • setGreenGamma

        public void setGreenGamma(short value)

        Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the green primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.

      • getBlueGamma

        public short getBlueGamma()

        Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the blue primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.

      • setBlueGamma

        public void setBlueGamma(short value)

        Gets or sets a 16-bit unsigned integer that specifies the nth power gamma correction value for the blue primary of the source colors. This value SHOULD be in the range from 2,500 to 65,000. A value of 10,000 means gamma correction MUST NOT be performed.

      • getReferenceBlack

        public short getReferenceBlack()

        Gets or sets a 16-bit unsigned integer that specifies the black reference for the source colors. Any colors that are darker than this are treated as black. This value SHOULD be in the range from zero to 4,000

      • setReferenceBlack

        public void setReferenceBlack(short value)

        Gets or sets a 16-bit unsigned integer that specifies the black reference for the source colors. Any colors that are darker than this are treated as black. This value SHOULD be in the range from zero to 4,000

      • getReferenceWhite

        public short getReferenceWhite()

        Gets or sets a 16-bit unsigned integer that specifies the white reference for the source colors. Any colors that are lighter than this are treated as white. This value SHOULD be in the range from 6,000 to 10,000.

      • setReferenceWhite

        public void setReferenceWhite(short value)

        Gets or sets a 16-bit unsigned integer that specifies the white reference for the source colors. Any colors that are lighter than this are treated as white. This value SHOULD be in the range from 6,000 to 10,000.

      • getContrast

        public short getContrast()

        Gets or sets a 16-bit signed integer that specifies the amount of contrast to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means contrast adjustment MUST NOT be performed.

      • setContrast

        public void setContrast(short value)

        Gets or sets a 16-bit signed integer that specifies the amount of contrast to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means contrast adjustment MUST NOT be performed.

      • getBrightness

        public short getBrightness()

        Gets or sets a 16-bit signed integer that specifies the amount of brightness to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means brightness adjustment MUST NOT be performed.

      • setBrightness

        public void setBrightness(short value)

        Gets or sets a 16-bit signed integer that specifies the amount of brightness to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means brightness adjustment MUST NOT be performed.

      • getColorfullness

        public short getColorfullness()

        Gets or sets a 16-bit signed integer that specifies the amount of colorfulness to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means colorfulness adjustment MUST NOT be performed

      • setColorfullness

        public void setColorfullness(short value)

        Gets or sets a 16-bit signed integer that specifies the amount of colorfulness to be applied to the source object. This value SHOULD be in the range from –100 to 100. A value of zero means colorfulness adjustment MUST NOT be performed

      • getRedGreenTint

        public short getRedGreenTint()

        Gets or sets 16-bit signed integer that specifies the amount of red or green tint adjustment to be applied to the source object. This value SHOULD be in the range from –100 to 100. Positive numbers adjust towards red and negative numbers adjust towards green. A value of zero means tint adjustment MUST NOT be performed

      • setRedGreenTint

        public void setRedGreenTint(short value)

        Gets or sets 16-bit signed integer that specifies the amount of red or green tint adjustment to be applied to the source object. This value SHOULD be in the range from –100 to 100. Positive numbers adjust towards red and negative numbers adjust towards green. A value of zero means tint adjustment MUST NOT be performed