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

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.CIELabColor
All Implemented Interfaces:
Value

public class CIELabColor
extends AbstractCIEColor

This class represents an CIE L*a*b* color value.


Field Summary
static String CIE_LAB_COLOR_FUNCTION
           
 
Fields inherited from class org.apache.batik.css.engine.value.svg12.AbstractCIEColor
values, whitepoint
 
Constructor Summary
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
 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_LAB_COLOR_FUNCTION

public static final 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* value
a - the a* value
b - the b* value
whitepoint - 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 String getFunctionName()

Specified by:
getFunctionName in class AbstractCIEColor


Copyright © 2017 Apache Software Foundation. All Rights Reserved.