Class HSLColorImpl

java.lang.Object
org.htmlunit.cssparser.dom.AbstractColor
org.htmlunit.cssparser.dom.HSLColorImpl
All Implemented Interfaces:
Serializable

public class HSLColorImpl extends AbstractColor
Implementation of HSLColor.
Author:
Ronald Brill
See Also:
  • Constructor Details

    • HSLColorImpl

      public HSLColorImpl(String function, LexicalUnit lu) throws DOMException
      Constructor that reads the values from the given chain of LexicalUnits.
      Parameters:
      function - the name of the function; hsl or hsla
      lu - the values
      Throws:
      DOMException - in case of error