public class ICCNamedColor extends AbstractValue
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
colorName
The color name.
|
protected java.lang.String |
colorProfile
The color profile.
|
static java.lang.String |
ICC_NAMED_COLOR_FUNCTION |
Constructor and Description |
---|
ICCNamedColor(java.lang.String profileName,
java.lang.String colorName)
Creates a new ICCNamedColor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColorName()
Returns the color name
|
java.lang.String |
getColorProfile()
Returns the color name.
|
java.lang.String |
getCssText()
A string representation of the current value.
|
short |
getCssValueType()
Implements
Value.getCssValueType() . |
java.lang.String |
toString() |
createDOMException, getBlue, getBottom, getFloatValue, getGreen, getIdentifier, getLeft, getLength, getListStyle, getPrimitiveType, getRed, getRight, getSeparator, getStringValue, getTop, item
public static final java.lang.String ICC_NAMED_COLOR_FUNCTION
protected java.lang.String colorProfile
protected java.lang.String colorName
public ICCNamedColor(java.lang.String profileName, java.lang.String colorName)
public short getCssValueType()
Value.getCssValueType()
.getCssValueType
in interface Value
getCssValueType
in class AbstractValue
public java.lang.String getColorProfile() throws DOMException
DOMException
public java.lang.String getColorName() throws DOMException
DOMException
public java.lang.String getCssText()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2022 Apache Software Foundation. All Rights Reserved.