Package fr.ifremer.isisfish.map
Interface Scale
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultScale
This interface allows the user to define a graduation between 0.0 and 1.0
whose movement are proportionnal to a bounded value.
Created: Mon Apr 22 16:36:05 2002
-
Method Summary
Modifier and TypeMethodDescriptionint
getValueAsRGB
(double value) double
getValueAsScale
(double value) Get the corresponding value between 0.0 and 1.0.
-
Method Details
-
getValueAsScale
double getValueAsScale(double value) Get the corresponding value between 0.0 and 1.0.- Parameters:
value
- value to get scale- Returns:
- scale value
-
getValueAsRGB
int getValueAsRGB(double value)
-