Interface ColorGenerator

  • All Known Implementing Classes:
    HSVColorGenerator

    public interface ColorGenerator
    This interface specifies the generateColors method for classes which generate colors according different strategies such that those colors can be distinguished easily.
    Version:
    $Revision: 1 $
    Author:
    Tuan Pham Minh (tuan.pham@ovgu.de)
    • Method Detail

      • generateColors

        Color[] generateColors​(int numColors)
        Generate numColors unique colors which should be easily distinguishable.
        Parameters:
        numColors - the number of colors to generate
        Returns:
        an array of unique colors