Interface ColorProvider

    • Method Detail

      • next

        Color next()
        Returns the next color.
        Returns:
        the next color
      • resetColors

        void resetColors()
        Resets the colors.
      • recycle

        void recycle​(Color c)
        "Recycles" the specified colors, i.e., makes it available for future use.
        Parameters:
        c - the color to re-use
      • exclude

        void exclude​(Color c)
        "Excludes" the specified colors, i.e., makes it unavailable for future use.
        Parameters:
        c - the color to exclude