public class HslValueFunction extends java.lang.Object implements StyleValueFunction
Constructor and Description |
---|
HslValueFunction() |
Modifier and Type | Method and Description |
---|---|
CSSValue |
evaluate(LayoutProcess layoutProcess,
LayoutElement element,
CSSFunctionValue function) |
protected int |
validateHueParameter(CSSValue value) |
protected float |
validateOtherParameter(CSSValue value) |
protected int validateHueParameter(CSSValue value) throws FunctionEvaluationException
FunctionEvaluationException
protected float validateOtherParameter(CSSValue value) throws FunctionEvaluationException
FunctionEvaluationException
public CSSValue evaluate(LayoutProcess layoutProcess, LayoutElement element, CSSFunctionValue function) throws FunctionEvaluationException
evaluate
in interface StyleValueFunction
FunctionEvaluationException