---
title: "CmykCorrection"
url: "https://reference.aspose.com/psd/java/com.aspose.psd.fileformats.psd.layers.adjustmentlayers.models/cmykcorrection/"
product: "Aspose.PSD for Java API Reference"
description: "Colors correction in selective color adjustment layer."
---


**Inheritance:**
java.lang.Object
```
public class CmykCorrection
```

Colors correction in selective color adjustment layer.
## Constructors

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

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getBlack()](#getBlack--) | Gets or sets black color correction. |
| [getClass()](#getClass--) |  |
| [getCyan()](#getCyan--) | Gets or sets cyan color correction. |
| [getMagenta()](#getMagenta--) | Gets or sets magenta color correction. |
| [getYellow()](#getYellow--) | Gets or sets yellow color correction. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setBlack(short value)](#setBlack-short-) | Gets or sets black color correction. |
| [setCyan(short value)](#setCyan-short-) | Gets or sets cyan color correction. |
| [setMagenta(short value)](#setMagenta-short-) | Gets or sets magenta color correction. |
| [setYellow(short value)](#setYellow-short-) | Gets or sets yellow color correction. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### CmykCorrection() {#CmykCorrection--}
```
public CmykCorrection()
```


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




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

**Returns:**
boolean
### getBlack() {#getBlack--}
```
public final short getBlack()
```


Gets or sets black color correction.

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




**Returns:**
java.lang.Class<?>
### getCyan() {#getCyan--}
```
public final short getCyan()
```


Gets or sets cyan color correction.

**Returns:**
short
### getMagenta() {#getMagenta--}
```
public final short getMagenta()
```


Gets or sets magenta color correction.

**Returns:**
short
### getYellow() {#getYellow--}
```
public final short getYellow()
```


Gets or sets yellow color correction.

**Returns:**
short
### hashCode() {#hashCode--}
```
public native int hashCode()
```




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




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




### setBlack(short value) {#setBlack-short-}
```
public final void setBlack(short value)
```


Gets or sets black color correction.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short |  |

### setCyan(short value) {#setCyan-short-}
```
public final void setCyan(short value)
```


Gets or sets cyan color correction.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short |  |

### setMagenta(short value) {#setMagenta-short-}
```
public final void setMagenta(short value)
```


Gets or sets magenta color correction.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short |  |

### setYellow(short value) {#setYellow-short-}
```
public final void setYellow(short value)
```


Gets or sets yellow color correction.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short |  |

### 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 |  |

