pl.krakow.cmuj.bioinformatics.jellipse
Interface ColorScheme
- All Known Implementing Classes:
- PinkBlue, RedGreen
public interface ColorScheme
Interface allowing switching between predefined color schemes.
Designed to simulate the behavior of pointers to a function
(here: functions calculate RGB components).
Method Summary |
float[] |
getColor(float value)
This function should be overriden by implementing classes, providing
a recipe for color components calculations. |
getColor
float[] getColor(float value)
- This function should be overriden by implementing classes, providing
a recipe for color components calculations.
- Parameters:
value
- usually a value of property to highlight
- Returns:
- RGB components