Class LCHColorImpl

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

public class LCHColorImpl extends AbstractColor
Implementation of LCHColor and OKLCHColor.
Author:
Ronald Brill
See Also:
  • Constructor Details

    • LCHColorImpl

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