Lines Matching defs:mode
229 * @param $mode
233 private function processModeColor($mode, array $cores)
237 $cores = $this->convertPercentCoreValues($mode, $cores);
239 switch ($mode) {
280 * @param string $mode
285 private function convertPercentCoreValues($mode, array $cores)
291 if ($mode === 'rgb' || $mode === 'rgba') {
298 if ($mode === 'rgb' || $mode === 'rgba') {
301 if ($mode === 'hsl' || $mode === 'hsla') {
308 if ($mode === 'rgb' || $mode === 'rgba') {
311 if ($mode === 'hsl' || $mode === 'hsla') {
349 throw new \Mpdf\MpdfException('Invalid color input, invalid color mode in binary color string');