|
@@ 1067-1073 (lines=7) @@
|
| 1064 |
|
return $this->toRGB($hsl); |
| 1065 |
|
} |
| 1066 |
|
|
| 1067 |
|
protected function lib_fadeout($args) |
| 1068 |
|
{ |
| 1069 |
|
list($color, $delta) = $this->colorArgs($args); |
| 1070 |
|
$color[4] = $this->clamp((isset($color[4]) ? $color[4] : 1) - $delta / 100); |
| 1071 |
|
|
| 1072 |
|
return $color; |
| 1073 |
|
} |
| 1074 |
|
|
| 1075 |
|
protected function lib_fadein($args) |
| 1076 |
|
{ |
|
@@ 1075-1081 (lines=7) @@
|
| 1072 |
|
return $color; |
| 1073 |
|
} |
| 1074 |
|
|
| 1075 |
|
protected function lib_fadein($args) |
| 1076 |
|
{ |
| 1077 |
|
list($color, $delta) = $this->colorArgs($args); |
| 1078 |
|
$color[4] = $this->clamp((isset($color[4]) ? $color[4] : 1) + $delta / 100); |
| 1079 |
|
|
| 1080 |
|
return $color; |
| 1081 |
|
} |
| 1082 |
|
|
| 1083 |
|
protected function lib_hue($color) |
| 1084 |
|
{ |