org.apache.batik.css.engine.value.svg12
Class CIELCHColor

java.lang.Object
  extended by org.apache.batik.css.engine.value.AbstractValue
      extended by org.apache.batik.css.engine.value.svg12.AbstractCIEColor
          extended by 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.


Field Summary
static String CIE_LCH_COLOR_FUNCTION
           
 
Fields inherited from class org.apache.batik.css.engine.value.svg12.AbstractCIEColor
values, whitepoint
 
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.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CIE_LCH_COLOR_FUNCTION

public static final 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) value
c - the chroma (C) value
h - the hue (H) value
whitepoint - 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) value
c - the chroma (C) value
h - the hue (H) value
Method Detail

getFunctionName

public String getFunctionName()

Specified by:
getFunctionName in class AbstractCIEColor


Copyright © 2017 Apache Software Foundation. All Rights Reserved.