Packages

 

com.aspose.imaging.extensions

Class ColorMapExtensions



  • public class ColorMapExtensions
    extends Object

    The ColorMap extension methods.

    • Method Detail

      • toGdiColorMap

        public static com.aspose.ms.System.Drawing.Imaging.ColorMap toGdiColorMap(ColorMap colorMap)

        Converts the com.aspose.imaging.ColorMap to the System.Drawing.Imaging.ColorMap.

        Parameters:
        colorMap - The color map to convert.
        Returns:
        The converted System.Drawing.Imaging.ColorMap.
      • toGdiColorMaps

        public static com.aspose.ms.System.Drawing.Imaging.ColorMap[] toGdiColorMaps(ColorMap[] colorMaps)

        Converts the com.aspose.imaging.ColorMap array to the System.Drawing.Imaging.ColorMap array.

        Parameters:
        colorMaps - The color maps to convert.
        Returns:
        The converted System.Drawing.Imaging.ColorMap array.