Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.visualization.colors
Interface ColorLibrary

All Known Implementing Classes:
PublicationColorLibrary

public interface ColorLibrary

Color scheme interface

Author:
Erich Schubert

Method Summary
 String getColor(int index)
          Return the i'th color.
 int getNumberOfNativeColors()
          Return the number of native colors available.
 

Method Detail

getNumberOfNativeColors

int getNumberOfNativeColors()
Return the number of native colors available. These are guaranteed to be unique.

Returns:
number of native colors

getColor

String getColor(int index)
Return the i'th color.

Parameters:
index - color index
Returns:
color in hexadecimal notation (#aabbcc) or color name ("red") as valid in CSS and SVG.

Release 0.2 (2009-07-06_1820)