Packages

 

com.aspose.cad

Interface IColorPalette

    • Method Detail

      • getEntriesCount

        int getEntriesCount()

        Gets the entries count.

        Returns:
        The entries count.
      • getArgb32Entries

        int[] getArgb32Entries()

        Gets an array of 32-bit ARGB structures.

        Returns:
        The 32-bit ARGB entries. The array of 32-bit ARGB structure that make up this Aspose.Imaging.ColorPalette.
      • getEntries

        Color[] getEntries()

        Gets an array of Aspose.Imaging.Color structures.

        Returns:
        The entries. The array of Aspose.Imaging.Color structure that make up this Aspose.Imaging.ColorPalette.
      • isCompactPalette

        boolean isCompactPalette()
      • getNearestColorIndex

        int getNearestColorIndex(int argb32Color)
      • getNearestColorIndex

        int getNearestColorIndex(Color color)
      • getArgb32Color

        int getArgb32Color(int index)
      • getColor

        Color getColor(int index)