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
public class CIELabColor extends AbstractCIEColor
This class represents an CIE L*a*b* color value.- Version:
- $Id: CIELabColor.java 1617286 2014-08-11 14:03:51Z lbernardo $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CIE_LAB_COLOR_FUNCTION
-
Fields inherited from class org.apache.batik.css.engine.value.svg12.AbstractCIEColor
values, whitepoint
-
-
Constructor Summary
Constructors Constructor Description CIELabColor(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFunctionName()
-
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 Detail
-
CIE_LAB_COLOR_FUNCTION
public static final java.lang.String CIE_LAB_COLOR_FUNCTION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getFunctionName
public java.lang.String getFunctionName()
- Specified by:
getFunctionName
in classAbstractCIEColor
-
-