sonification.dataimport.visbards_resourcetoolkit.repository.category
Interface ColorPalette

All Known Implementing Classes:
DefaultColorPalette, ROYGBIVPalette

public interface ColorPalette

A simple color palette. The palette ranges from 0 to 1. Note that the implementations of color palette must be immutable since the color palette does not allow listeners.


Method Summary
 java.awt.Color getColor(float ratio)
          Returns the color for the given ratio.
 

Method Detail

getColor

java.awt.Color getColor(float ratio)
Returns the color for the given ratio.