Packages

 

com.aspose.imaging

Interfaces

Classes

Exceptions

com.aspose.imaging

Class ColorMap



  • public final class ColorMap
    extends Object

    Defines a map for converting colors. Several methods of the com.aspose.imaging.ImageAttributes class adjust image colors by using a color-remap table, which is an array of com.aspose.imaging.ColorMap structures. Not inheritable.

    • Constructor Detail

      • ColorMap

        public ColorMap()
    • Method Detail

      • getOldColor

        public Color getOldColor()

        Gets the existing com.aspose.imaging.Color structure to be converted.

        Returns:
        The existing com.aspose.imaging.Color structure to be converted.
      • setOldColor

        public void setOldColor(Color value)

        Sets the existing com.aspose.imaging.Color structure to be converted.

        Parameters:
        value - The existing com.aspose.imaging.Color structure to be converted.
      • getNewColor

        public Color getNewColor()

        Gets the new com.aspose.imaging.Color structure to which to convert.

        Returns:
        The new com.aspose.imaging.Color structure to which to convert.
      • setNewColor

        public void setNewColor(Color value)

        Sets the new com.aspose.imaging.Color structure to which to convert.

        Parameters:
        value - The new com.aspose.imaging.Color structure to which to convert.