public static final class StyleFunction.Gradient extends GenericJson
| Modifier and Type | Class and Description |
|---|---|
static class |
StyleFunction.Gradient.Colors
Model definition for StyleFunctionGradientColors.
|
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
StyleFunction.Gradient() |
| Modifier and Type | Method and Description |
|---|---|
StyleFunction.Gradient |
clone() |
List<StyleFunction.Gradient.Colors> |
getColors()
Array with two or more colors.
|
Double |
getMax()
Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1].
|
Double |
getMin()
Lower-end of the interpolation range: rows with this value will be assigned to colors[0].
|
StyleFunction.Gradient |
set(String fieldName,
Object value) |
StyleFunction.Gradient |
setColors(List<StyleFunction.Gradient.Colors> colors)
Array with two or more colors.
|
StyleFunction.Gradient |
setMax(Double max)
Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1].
|
StyleFunction.Gradient |
setMin(Double min)
Lower-end of the interpolation range: rows with this value will be assigned to colors[0].
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic List<StyleFunction.Gradient.Colors> getColors()
null for nonepublic StyleFunction.Gradient setColors(List<StyleFunction.Gradient.Colors> colors)
colors - colors or null for nonepublic Double getMax()
null for nonepublic StyleFunction.Gradient setMax(Double max)
max - max or null for nonepublic Double getMin()
null for nonepublic StyleFunction.Gradient setMin(Double min)
min - min or null for nonepublic StyleFunction.Gradient set(String fieldName, Object value)
set in class GenericJsonpublic StyleFunction.Gradient clone()
clone in class GenericJson