ColorExtensions

Inheritance: java.lang.Object

public final class ColorExtensions

Les méthodes d’extension Color.

Méthodes

MéthodeDescription
toGdiColor(Color color)Convertit le com.aspose.imaging.Color en System.Drawing.Color.
toGdiColors(Color[] colors)Convertit le tableau com.aspose.imaging.Color en tableau System.Drawing.Color.

toGdiColor(Color color)

public static Color toGdiColor(Color color)

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

Parameters:

ParamètreTypeDescription
colorColorLecom.aspose.imaging.Color à convertir.

Returns: Color - The converted System.Drawing.Color.

toGdiColors(Color[] colors)

public static System.Drawing.Color[] toGdiColors(Color[] colors)

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

Parameters:

ParamètreTypeDescription
colorsColor[]Lecom.aspose.imaging.Color tableau à convertir.

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