Home
last modified time | relevance | path

Searched refs:clamp (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php1186 $hsl[3] = $this->clamp($hsl[3] - $delta, 100);
1194 $hsl[3] = $this->clamp($hsl[3] + $delta, 100);
1202 $hsl[2] = $this->clamp($hsl[2] + $delta, 100);
1210 $hsl[2] = $this->clamp($hsl[2] - $delta, 100);
1227 $color[4] = $this->clamp((isset($color[4]) ? $color[4] : 1) - $delta/100);
1263 $color[4] = $this->clamp($alpha / 100.0);
1478 protected function clamp($v, $max = 1, $min = 0) { function in lessc
1498 if ($i == 0) $clamp = 360;
1499 elseif ($i < 3) $clamp = 100;
1500 else $clamp = 1;
[all …]