Class DesaturateFunction
- Object
-
- ExpressionAbstract
-
- FunctionImpl
-
- AbstractHSLFunction
-
- DesaturateFunction
-
- All Implemented Interfaces:
Expression
,Function
public class DesaturateFunction extends AbstractHSLFunction
Implements the lesscss.org desaturate function- Author:
- Andrea Aime - GeoSolutions
-
-
Field Summary
-
Fields inherited from class AbstractHSLFunction
NAME
-
Fields inherited from class FunctionImpl
functionName
-
Fields inherited from interface Expression
NIL
-
-
Constructor Summary
Constructors Constructor Description DesaturateFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
adjustAbsolute(float amount, HSLColor hsl)
protected void
adjustRelative(float amount, HSLColor hsl)
-
Methods inherited from class AbstractHSLFunction
evaluate, toString
-
Methods inherited from class FunctionImpl
accept, dispatchArguments, equals, functionName, getFallbackValue, getFunctionName, getName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters
-
Methods inherited from class ExpressionAbstract
evaluate
-
Methods inherited from interface Expression
evaluate
-
-
-
-
Method Detail
-
adjustRelative
protected void adjustRelative(float amount, HSLColor hsl)
- Specified by:
adjustRelative
in classAbstractHSLFunction
-
adjustAbsolute
protected void adjustAbsolute(float amount, HSLColor hsl)
- Specified by:
adjustAbsolute
in classAbstractHSLFunction
-
-