public final class ColorExtensions extends Object
The Color
extension methods.
Modifier and Type | Method and Description |
---|---|
static Color |
toGdiColor(Color color)
Converts the
com.aspose.imaging.Color to the System.Drawing.Color . |
static com.aspose.ms.System.Drawing.Color[] |
toGdiColors(Color[] colors)
Converts the
com.aspose.imaging.Color array to the System.Drawing.Color array. |
public static Color toGdiColor(Color color)
Converts the com.aspose.imaging.Color
to the System.Drawing.Color
.
color
- Thecom.aspose.imaging.Color
to convert.System.Drawing.Color
.public static com.aspose.ms.System.Drawing.Color[] toGdiColors(Color[] colors)
Converts the com.aspose.imaging.Color
array to the System.Drawing.Color
array.
colors
- Thecom.aspose.imaging.Color
array to convert.System.Drawing.Color
array.