Table of contents
Namespace: Com\Tecnick\Color
Abstract: Yes
File: Css.php line 41
Css Color class
Parses the CSS and Acrobat JavaScript color notations. Component scaling is delegated to a ComponentNormalizer held as a collaborator.
Extension points: the protected parser methods.
Tags
- since: 2015-02-21
- category: Library
- author: Nicola Asuni info@tecnick.com
- copyright: 2015-2026 Nicola Asuni - Tecnick.com LTD
- license: https://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE)
- link: https://github.com/tecnickcom/tc-lib-color
Methods
__construct()
File: Css.php line 75
public __construct([ComponentNormalizer|null $normalizer = null ]) : mixed
Parameters
- $normalizer : ComponentNormalizer |null = null: Component scaler; the default is used when omitted.