public abstract class AbstractCIEColor extends AbstractValue
| Modifier and Type | Field and Description |
|---|---|
protected float[] |
values
The three color values.
|
protected float[] |
whitepoint
The white point, initialized to D50.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCIEColor(float[] components,
float[] whitepoint)
Creates a new CIE-based color.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
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 String getFunctionName()
public short getCssValueType()
Value.getCssValueType().getCssValueType in interface ValuegetCssValueType in class AbstractValuepublic String getCssText()
Copyright © 2000–2017 Apache Software Foundation. All rights reserved.