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
FunctionEvaluationExceptionprotected float validateOtherParameter(CSSValue value) throws FunctionEvaluationException
FunctionEvaluationExceptionpublic CSSValue evaluate(LayoutProcess layoutProcess, LayoutElement element, CSSFunctionValue function) throws FunctionEvaluationException
evaluate in interface StyleValueFunctionFunctionEvaluationException