Interface ColorPalette

All Known Implementing Classes:
ColorPaletteAlgo, ColorPaletteArray

public interface ColorPalette
Palette of Colors.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int index)
    Gets the Color at the index in the palette.
    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.