Package org.htmlunit.cssparser.dom
Class AbstractColor
- java.lang.Object
-
- org.htmlunit.cssparser.dom.AbstractColor
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HSLColorImpl,HWBColorImpl,LABColorImpl,LCHColorImpl,RGBColorImpl
public class AbstractColor extends Object implements Serializable
Color base class.- Author:
- Ronald Brill
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractColor(String function, LexicalUnit lu)Constructor that reads the values from the given chain of LexicalUnits.
-
-
-
Constructor Detail
-
AbstractColor
public AbstractColor(String function, LexicalUnit lu) throws DOMException
Constructor that reads the values from the given chain of LexicalUnits.- Parameters:
function- the name of the function; rgb or rgbalu- the values- Throws:
DOMException- in case of error
-
-