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