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

The  Color  extension methods.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toGdiColor(Color color)](#toGdiColor-com.aspose.psd.Color-) | Converts the  com.aspose.psd.Color  to the  System.Drawing.Color . |
| [toGdiColors(Color[] colors)](#toGdiColors-com.aspose.psd.Color---) | Converts the  com.aspose.psd.Color  array to the  System.Drawing.Color  array. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### 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<?>
### hashCode() {#hashCode--}
```
public native int hashCode()
```




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




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




### toGdiColor(Color color) {#toGdiColor-com.aspose.psd.Color-}
```
public static Color toGdiColor(Color color)
```


Converts the  com.aspose.psd.Color  to the  System.Drawing.Color .

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

**Returns:**
[Color](../../java.awt/color) - The converted  System.Drawing.Color .
### toGdiColors(Color[] colors) {#toGdiColors-com.aspose.psd.Color---}
```
public static System.Drawing.Color[] toGdiColors(Color[] colors)
```


Converts the  com.aspose.psd.Color  array to the  System.Drawing.Color  array.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| colors | [Color\[\]](../../com.aspose.psd/color) | The com.aspose.psd.Color  array to convert. |

**Returns:**
com.aspose.ms.System.Drawing.Color[] - The converted  System.Drawing.Color  array.
### 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 |  |

