Interface ColorPalette

All Known Implementing Classes:
ColorPaletteAlgo, ColorPaletteArray

public interface ColorPalette
Palette of Colors.
  • Method Summary

    Modifier and Type Method Description
    Color get​(int index)
    Gets the Color at the index in the palette.
    Color nextColor()
    Gets the next Color in the palette.
  • Method Details

    • nextColor

      Color nextColor()
      Gets the next Color in the palette.
      Returns:
      next Color in the palette.
    • get

      Color get​(int index)
      Gets the Color at the index in the palette.
      Parameters:
      index - index
      Returns:
      indexth Color in the palette.