Package org.apache.sedona.viz.core
Class ColoringRule
java.lang.Object
org.apache.sedona.viz.core.ColoringRule
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LinearFunction,PiecewiseFunction
The Class ColoringRule.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract IntegerEncodeToRGB(Double normalizedCount, GlobalParameter globalParameter) Encode to RGB.
-
Constructor Details
-
ColoringRule
public ColoringRule()
-
-
Method Details
-
EncodeToRGB
public abstract Integer EncodeToRGB(Double normalizedCount, GlobalParameter globalParameter) throws Exception Encode to RGB.- Parameters:
normalizedCount- the normalized countglobalParameter- the global parameter- Returns:
- the integer
- Throws:
Exception- the exception
-