ColorExtensions

Inheritance: java.lang.Object

public final class ColorExtensions

Die Erweiterungsmethoden für Color.

Methoden

MethodeBeschreibung
toGdiColor(Color color)Konvertiert die com.aspose.imaging.Color in die System.Drawing.Color.
toGdiColors(Color[] colors)Konvertiert das com.aspose.imaging.Color-Array in das System.Drawing.Color-Array.

toGdiColor(Color color)

public static Color toGdiColor(Color color)

Konvertiert die com.aspose.imaging.Color in die System.Drawing.Color.

Parameters:

ParameterTypBeschreibung
colorColorDascom.aspose.imaging.Color zu konvertieren.

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

toGdiColors(Color[] colors)

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

Konvertiert das com.aspose.imaging.Color-Array in das System.Drawing.Color-Array.

Parameters:

ParameterTypBeschreibung
colorsColor[]Dascom.aspose.imaging.Color-Array zu konvertieren.

Returns: com.aspose.ms.System.Drawing.Color[] - Das konvertierte System.Drawing.Color-Array.