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.
|
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, item
protected 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 Value
getCssValueType
in class AbstractValue
public java.lang.String getCssText()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2022 Apache Software Foundation. All Rights Reserved.