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

Les méthodes d'extension `Color`.
## Méthodes

| Méthode | Description |
| --- | --- |
| [toGdiColor(Color color)](#toGdiColor-com.aspose.imaging.Color-) | Convertit le `com.aspose.imaging.Color` en `System.Drawing.Color`. |
| [toGdiColors(Color[] colors)](#toGdiColors-com.aspose.imaging.Color---) | Convertit le tableau `com.aspose.imaging.Color` en tableau `System.Drawing.Color`. |
### toGdiColor(Color color) {#toGdiColor-com.aspose.imaging.Color-}
```
public static Color toGdiColor(Color color)
```


Convertit le `com.aspose.imaging.Color` en `System.Drawing.Color`.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| color | [Color](../../com.aspose.imaging/color) | Le`com.aspose.imaging.Color` à convertir. |

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


Convertit le tableau `com.aspose.imaging.Color` en tableau `System.Drawing.Color`.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| colors | [Color\[\]](../../com.aspose.imaging/color) | Le`com.aspose.imaging.Color` tableau à convertir. |

**Returns:**
com.aspose.ms.System.Drawing.Color[] - Le tableau `System.Drawing.Color` converti.
