|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.css.engine.value.AbstractValue
org.apache.batik.css.engine.value.svg12.AbstractCIEColor
public abstract class AbstractCIEColor
This is a base class for CIE Lab/LCH color values.
| Field Summary | |
|---|---|
protected float[] |
values
The three color values. |
protected float[] |
whitepoint
The white point, initialized to D50. |
| Constructor Summary | |
|---|---|
protected |
AbstractCIEColor(float[] components,
float[] whitepoint)
Creates a new CIE-based color. |
| Method Summary | |
|---|---|
float[] |
getColorValues()
Returns the color values. |
String |
getCssText()
A string representation of the current value. |
short |
getCssValueType()
Implements Value.getCssValueType(). |
abstract String |
getFunctionName()
|
float[] |
getWhitePoint()
Returns the white point in CIE XYZ coordinates. |
String |
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 |
|---|
protected float[] values
protected float[] whitepoint
| Constructor Detail |
|---|
protected AbstractCIEColor(float[] components,
float[] whitepoint)
components - the color componentswhitepoint - the white point in CIE XYZ coordinates| Method Detail |
|---|
public float[] getColorValues()
public float[] getWhitePoint()
public abstract String getFunctionName()
public short getCssValueType()
Value.getCssValueType().
getCssValueType in interface ValuegetCssValueType in class AbstractValuepublic String getCssText()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||