ColorExtensions
Inheritance: java.lang.Object
public final class ColorExtensions
The Color extension methods.
Methods
| Method | Description |
|---|---|
| toGdiColor(Color color) | Converts the com.aspose.imaging.Color to the System.Drawing.Color. |
| toGdiColors(Color[] colors) | Converts the com.aspose.imaging.Color array to the System.Drawing.Color array. |
toGdiColor(Color color)
public static Color toGdiColor(Color color)
Converts the com.aspose.imaging.Color to the System.Drawing.Color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| color | Color | Thecom.aspose.imaging.Color to convert. |
Returns:
Color - The converted System.Drawing.Color.
toGdiColors(Color[] colors)
public static System.Drawing.Color[] toGdiColors(Color[] colors)
Converts the com.aspose.imaging.Color array to the System.Drawing.Color array.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| colors | Color[] | Thecom.aspose.imaging.Color array to convert. |
Returns:
com.aspose.ms.System.Drawing.Color[] - The converted System.Drawing.Color array.