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$
-
Field Summary
FieldsFields inherited from class 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 AbstractCIEColor
getColorValues, getCssText, getCssValueType, getWhitePoint, toStringMethods inherited from class 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:
getFunctionNamein classAbstractCIEColor
-