Packages

 

com.aspose.cad.extensions

Class ColorExtensions



  • public final class ColorExtensions
    extends Object

    The Color extension methods.

    • Method Detail

      • toGdiColor

        public static Color toGdiColor(Color color)

        Converts the com.aspose.cad.Color to the com.aspose.ms.system.drawing.Color.

        Parameters:
        color - Thecom.aspose.cad.Color to convert.
        Returns:
        The converted com.aspose.ms.system.drawing.Color.
      • toGdiColors

        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.

        Parameters:
        colors - Thecom.aspose.cad.Color array to convert.
        Returns:
        The converted com.aspose.ms.system.drawing.Color array.