Class AbstractColor

    • 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 rgba
        lu - the values
        Throws:
        DOMException - in case of error