public abstract class AbstractHSLFunction extends FunctionImpl
Modifier and Type | Field and Description |
---|---|
static FunctionName |
NAME |
functionName
NIL
Constructor and Description |
---|
AbstractHSLFunction(String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
adjustAbsolute(float amount,
HSLColor hsl) |
protected abstract void |
adjustRelative(float amount,
HSLColor hsl) |
Object |
evaluate(Object object)
Default implementation simply returns the fallbackValue.
|
String |
toString()
Creates a String representation of this Function with the function name and the arguments.
|
accept, dispatchArguments, equals, functionName, getFallbackValue, getFunctionName, getName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters
evaluate
evaluate
public static FunctionName NAME
public AbstractHSLFunction(String name)
public Object evaluate(Object object)
FunctionImpl
Please override this method to produce a value based on the provided arguments.
evaluate
in interface Expression
evaluate
in class FunctionImpl
object
- Object being evaluated; often a Featureprotected abstract void adjustRelative(float amount, HSLColor hsl)
protected abstract void adjustAbsolute(float amount, HSLColor hsl)
public String toString()
toString
in class FunctionImpl
Copyright © 1996–2023 Geotools. All rights reserved.