Lines Matching refs:color
106 * * fill color is on the surface (known also as Solid)
107 * * stroke, the color is on the path (known as Outline
112 * * Icon and tile have the same characteristic (ie viewbox = 0 0 A A) and the color can be set)
113 * * An illustration does not have rectangle shape and the color is not set
126 private ?ColorRgb $color = null;
384 * The illustration uses inline fill to color and styled
513 // no color ok
658 public function setRequestedColor(ColorRgb $color): FetcherSvg
660 $this->color = $color;
669 if ($this->color === null) {
670 throw new ExceptionNotFound("No requested color");
672 return $this->color;
1136 * * fill one color
1140 * The color can be set:
1151 * Double color icon ?
1191 * Note: if fill was not set, the default color would be black
1207 * This optimization should happen if the color is set
1208 * or not because we set the color value to `currentColor`
1225 $color = null;
1227 $color = $this->getRequestedColor();
1232 $color = ColorRgb::createFromString($primaryColor);
1243 if ($color !== null) {
1255 $colorValue = $color->toCssValue();
1290 // double color
1422 $color = ColorRgb::createFromString($value);
1424 LogUtility::error("The $svgAttribute value ($value) of the svg ($this) is not an valid color", self::CANONICAL);
1427 $this->setRequestedColor($color);