/** * Internal method to set the colors. * * @param string $col1 First color, either a name or hex value * @param string $col2 Second color, either a name or hex value * @return void * @access private * @author Jason Lotito <*****@*****.**> */ static function _setColors($col1, $col2) { if ($col1) { self::$color1 = Image_Color::_splitColor($col1); } if ($col2) { self::$color2 = Image_Color::_splitColor($col2); } }