ValueCIELabColor, CIELCHColorpublic abstract class AbstractCIEColor extends AbstractValue
| Modifier and Type | Field | Description |
|---|---|---|
protected float[] |
values |
The three color values.
|
protected float[] |
whitepoint |
The white point, initialized to D50.
|
| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractCIEColor(float[] components,
float[] whitepoint) |
Creates a new CIE-based color.
|
| Modifier and Type | Method | Description |
|---|---|---|
float[] |
getColorValues() |
Returns the color values.
|
java.lang.String |
getCssText() |
A string representation of the current value.
|
short |
getCssValueType() |
Implements
Value.getCssValueType(). |
abstract java.lang.String |
getFunctionName() |
|
float[] |
getWhitePoint() |
Returns the white point in CIE XYZ coordinates.
|
java.lang.String |
toString() |
createDOMException, getBlue, getBottom, getFloatValue, getGreen, getIdentifier, getLeft, getLength, getListStyle, getPrimitiveType, getRed, getRight, getSeparator, getStringValue, getTop, itemprotected float[] values
protected float[] whitepoint
protected AbstractCIEColor(float[] components,
float[] whitepoint)
components - the color componentswhitepoint - the white point in CIE XYZ coordinatespublic float[] getColorValues()
public float[] getWhitePoint()
public abstract java.lang.String getFunctionName()
public short getCssValueType()
Value.getCssValueType().getCssValueType in interface ValuegetCssValueType in class AbstractValuepublic java.lang.String getCssText()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2018 Apache Software Foundation. All Rights Reserved.