Class CIELCHColor
java.lang.Object
org.apache.batik.css.engine.value.AbstractValue
org.apache.batik.css.engine.value.svg12.AbstractCIEColor
org.apache.batik.css.engine.value.svg12.CIELCHColor
- All Implemented Interfaces:
Value
This class represents an CIE LCH color value.
- Version:
- $Id: CIELCHColor.java 1617286 2014-08-11 14:03:51Z lbernardo $
-
Field Summary
FieldsFields inherited from class org.apache.batik.css.engine.value.svg12.AbstractCIEColor
values, whitepoint
-
Constructor Summary
ConstructorsConstructorDescriptionCIELCHColor
(float l, float c, float h) Creates a new CIELCHColor with D65 as illuminant.CIELCHColor
(float l, float c, float h, float[] whitepoint) Creates a new CIELCHColor. -
Method Summary
Methods inherited from class org.apache.batik.css.engine.value.svg12.AbstractCIEColor
getColorValues, getCssText, getCssValueType, getWhitePoint, toString
Methods inherited from class org.apache.batik.css.engine.value.AbstractValue
createDOMException, getBlue, getBottom, getFloatValue, getGreen, getIdentifier, getLeft, getLength, getListStyle, getPrimitiveType, getRed, getRight, getSeparator, getStringValue, getTop, item
-
Field Details
-
CIE_LCH_COLOR_FUNCTION
- See Also:
-
-
Constructor Details
-
CIELCHColor
public CIELCHColor(float l, float c, float h, float[] whitepoint) Creates a new CIELCHColor.- Parameters:
l
- the lightness (L) valuec
- the chroma (C) valueh
- the hue (H) valuewhitepoint
- the white point in CIE XYZ coordinates
-
CIELCHColor
public CIELCHColor(float l, float c, float h) Creates a new CIELCHColor with D65 as illuminant.- Parameters:
l
- the lightness (L) valuec
- the chroma (C) valueh
- the hue (H) value
-
-
Method Details
-
getFunctionName
- Specified by:
getFunctionName
in classAbstractCIEColor
-