org.apache.batik.css.engine.value.svg12
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 $
|
Constructor Summary |
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. |
| 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 |
CIE_LCH_COLOR_FUNCTION
public static final String CIE_LCH_COLOR_FUNCTION
- See Also:
- Constant Field Values
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
getFunctionName
public String getFunctionName()
-
- Specified by:
getFunctionName in class AbstractCIEColor
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.