Interface ColorPaletteAlgorithm

All Known Implementing Classes:
ColorPaletteAlgorithms

public interface ColorPaletteAlgorithm
Algorithm for generating a sequence of Colors.
  • Method Details

    • nextColor

      Color nextColor(Color c)
      Gets the next Color after c in the algorithm.
      Parameters:
      c - color
      Returns:
      result of plugging c in the algorithm
    • getInitialColor

      Color getInitialColor()
      Gets the algorithm's starting Color.
      Returns:
      algorithm's starting Color