Class ICCNamedColor
java.lang.Object
org.apache.batik.css.engine.value.AbstractValue
org.apache.batik.css.engine.value.svg12.ICCNamedColor
- All Implemented Interfaces:
Value
This class represents an ICC named color value.
- Version:
- $Id: ICCNamedColor.java 1617286 2014-08-11 14:03:51Z lbernardo $
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionICCNamedColor
(String profileName, String colorName) Creates a new ICCNamedColor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the color nameReturns the color name.A string representation of the current value.short
ImplementsValue.getCssValueType()
.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
-
Field Details
-
ICC_NAMED_COLOR_FUNCTION
- See Also:
-
colorProfile
The color profile. -
colorName
The color name.
-
-
Constructor Details
-
ICCNamedColor
Creates a new ICCNamedColor.
-
-
Method Details
-
getCssValueType
public short getCssValueType()ImplementsValue.getCssValueType()
.- Specified by:
getCssValueType
in interfaceValue
- Overrides:
getCssValueType
in classAbstractValue
-
getColorProfile
Returns the color name.- Throws:
DOMException
-
getColorName
Returns the color name- Throws:
DOMException
-
getCssText
A string representation of the current value. -
toString
-