Class CIELabColor
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.CIELabColor
- All Implemented Interfaces:
Value
This class represents an CIE L*a*b* color value.
-
Field Summary
FieldsFields inherited from class org.apache.batik.css.engine.value.svg12.AbstractCIEColor
values, whitepoint
-
Constructor Summary
ConstructorsConstructorDescriptionCIELabColor
(float l, float a, float b) Creates a new CIELabColor with D50 as illuminant.CIELabColor
(float l, float a, float b, float[] whitepoint) Creates a new CIELabColor. -
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_LAB_COLOR_FUNCTION
- See Also:
-
-
Constructor Details
-
CIELabColor
public CIELabColor(float l, float a, float b, float[] whitepoint) Creates a new CIELabColor.- Parameters:
l
- the L* valuea
- the a* valueb
- the b* valuewhitepoint
- the white point in CIE XYZ coordinates
-
CIELabColor
public CIELabColor(float l, float a, float b) Creates a new CIELabColor with D50 as illuminant.
-
-
Method Details
-
getFunctionName
- Specified by:
getFunctionName
in classAbstractCIEColor
-