ColorExtensions
Inheritance: java.lang.Object
public final class ColorExtensions
De Color‑utökningsmetoderna.
Metoder
| Metod | Beskrivning |
|---|---|
| toGdiColor(Color color) | Konverterar com.aspose.imaging.Color till System.Drawing.Color. |
| toGdiColors(Color[] colors) | Konverterar com.aspose.imaging.Color‑arrayen till System.Drawing.Color‑arrayen. |
toGdiColor(Color color)
public static Color toGdiColor(Color color)
Konverterar com.aspose.imaging.Color till System.Drawing.Color.
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| color | Color | Den com.aspose.imaging.Color att konvertera. |
Returns:
Color - The converted System.Drawing.Color.
toGdiColors(Color[] colors)
public static System.Drawing.Color[] toGdiColors(Color[] colors)
Konverterar com.aspose.imaging.Color‑arrayen till System.Drawing.Color‑arrayen.
Parameters:
| Parameter | Typ | Beskrivning |
|---|---|---|
| colors | Color[] | Den com.aspose.imaging.Color‑arrayen att konvertera. |
Returns:
com.aspose.ms.System.Drawing.Color[] - Den konverterade System.Drawing.Color‑arrayen.