ColorExtensions

Inheritance: java.lang.Object

public final class ColorExtensions

The Color extension methods.

Methods

MethodDescription
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:

ParameterTypeDescription
colorColorThecom.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:

ParameterTypeDescription
colorsColor[]Thecom.aspose.imaging.Color array to convert.

Returns: com.aspose.ms.System.Drawing.Color[] - The converted System.Drawing.Color array.