Package org.geotools.mbstyle.parse
Enum Class MBFunction.FunctionType
- All Implemented Interfaces:
- Serializable,- Comparable<MBFunction.FunctionType>,- Constable
- Enclosing class:
- MBFunction
Optional type, one of identity, exponential, interval, categorical.
- 
Nested Class SummaryNested classes/interfaces inherited from class EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionFunctions return the output value of the stop equal to the function input.Functions generate an output by interpolating between stops just less than and just greater than the function input.Functions return their input as their output.Functions return the output value of the stop just less than the function input.
- 
Method SummaryModifier and TypeMethodDescriptionstatic MBFunction.FunctionTypeReturns the enum constant of this class with the specified name.static MBFunction.FunctionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
IDENTITYFunctions return their input as their output.
- 
EXPONENTIALFunctions generate an output by interpolating between stops just less than and just greater than the function input. The domain must be numeric. This is the default for properties marked with "exponential" symbol.This is the default function type for continuous value (such as color or line width). Maps to Interpolate, requiring use ofFilterFunction_powfor base other that 1.
- 
INTERVALFunctions return the output value of the stop just less than the function input. The domain must be numeric. This is the default for properties marked with thie "interval" symbol.This is the default function type for enums values (such as line_cap). Maps to CategorizeFunction.
- 
CATEGORICALFunctions return the output value of the stop equal to the function input.Maps to RecodeFunction.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-