
**Inheritance:**
java.lang.Object
```
public final class ColorMap
```

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

| Constructor | Description |
| --- | --- |
| [ColorMap()](#ColorMap--) |  |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getNewColor()](#getNewColor--) | Gets the new  com.aspose.psd.Color  structure to which to convert. |
| [getOldColor()](#getOldColor--) | Gets the existing  com.aspose.psd.Color  structure to be converted. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setNewColor(Color value)](#setNewColor-com.aspose.psd.Color-) | Sets the new  com.aspose.psd.Color  structure to which to convert. |
| [setOldColor(Color value)](#setOldColor-com.aspose.psd.Color-) | Sets the existing  com.aspose.psd.Color  structure to be converted. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### ColorMap() {#ColorMap--}
```
public ColorMap()
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getNewColor() {#getNewColor--}
```
public Color getNewColor()
```


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

**Returns:**
[Color](../../com.aspose.psd/color) - The new  com.aspose.psd.Color  structure to which to convert.
### getOldColor() {#getOldColor--}
```
public Color getOldColor()
```


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

**Returns:**
[Color](../../com.aspose.psd/color) - The existing  com.aspose.psd.Color  structure to be converted.
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setNewColor(Color value) {#setNewColor-com.aspose.psd.Color-}
```
public void setNewColor(Color value)
```


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

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.psd/color) | The new  com.aspose.psd.Color  structure to which to convert. |

### setOldColor(Color value) {#setOldColor-com.aspose.psd.Color-}
```
public void setOldColor(Color value)
```


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

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Color](../../com.aspose.psd/color) | The existing  com.aspose.psd.Color  structure to be converted. |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

