com.aspose.imaging
Class ColorMap

java.lang.Object
  extended by com.aspose.imaging.ColorMap

public final class ColorMap
extends java.lang.Object

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


Constructor Summary
ColorMap()
           
 
Method Summary
 Color getNewColor()
           Gets the new Color structure to which to convert.
 Color getOldColor()
           Gets the existing Color structure to be converted.
 void setNewColor(Color value)
           Sets the new Color structure to which to convert.
 void setOldColor(Color value)
           Sets the existing Color structure to be converted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorMap

public ColorMap()
Method Detail

getNewColor

public Color getNewColor()

Gets the new Color structure to which to convert.

Value: The new Color structure to which to convert.


getOldColor

public Color getOldColor()

Gets the existing Color structure to be converted.

Value: The existing Color structure to be converted.


setNewColor

public void setNewColor(Color value)

Sets the new Color structure to which to convert.

Value: The new Color structure to which to convert.


setOldColor

public void setOldColor(Color value)

Sets the existing Color structure to be converted.

Value: The existing Color structure to be converted.