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 Aspose.Imaging.Color to the System.Drawing.Color.

        Parameters:
        color - TheAspose.Imaging.Color to convert.
        Returns:
        The converted System.Drawing.Color.
      • toGdiColors

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

        Converts the Aspose.Imaging.Color array to the System.Drawing.Color array.

        Parameters:
        colors - TheAspose.Imaging.Color array to convert.
        Returns:
        The converted System.Drawing.Color array.