Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
5 / 5 |
Color | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
2 | |
100.00% |
5 / 5 |
__construct($r = NULL, $g = NULL, $b = NULL) | |
100.00% |
1 / 1 |
2 | |
100.00% |
5 / 5 |
<?php | |
/** | |
* | |
*/ | |
namespace aae\draw\svg { | |
/** | |
* @author Axel Ancona Esselmann | |
* @package aae\std\draw\svg\parameters | |
*/ | |
class Color extends \aae\draw\Color { | |
public function __construct($r = NULL, $g = NULL, $b = NULL) { | |
if (is_null($r)) { | |
$this->_hex_color = "none"; | |
} else { | |
parent::__construct($r,$g,$b); | |
} | |
} | |
} | |
} |