Class LABColorImpl

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

public class LABColorImpl extends AbstractColor
Implementation of LABColor and OKLABColor.
Author:
Ronald Brill
See Also:
  • Constructor Details

    • LABColorImpl

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