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.cad.Color to the com.aspose.ms.system.drawing.Color . |
static com.aspose.ms.System.Drawing.Color[] |
toGdiColors(Color[] colors)
Converts the
com.aspose.cad.Color array to the com.aspose.ms.system.drawing.Color array. |
public static Color toGdiColor(Color color)
Converts the com.aspose.cad.Color
to the com.aspose.ms.system.drawing.Color
.
color
- Thecom.aspose.cad.Color
to convert.com.aspose.ms.system.drawing.Color
.public static com.aspose.ms.System.Drawing.Color[] toGdiColors(Color[] colors)
Converts the com.aspose.cad.Color
array to the com.aspose.ms.system.drawing.Color
array.
colors
- Thecom.aspose.cad.Color
array to convert.com.aspose.ms.system.drawing.Color
array.