Ejemplo n.º 1
0
 /**
  * Vdot Icon
  * @param float $vdotValue
  * @param float $currentShape
  */
 public function __construct($vdotValue = null, $currentShape = null)
 {
     parent::__construct(self::BASE_CLASS);
     if (!is_null($vdotValue)) {
         $this->setDirectionBasedOn($vdotValue, $currentShape);
         $this->setTooltipFor($vdotValue);
     }
 }
Ejemplo n.º 2
0
 /**
  * Weather Icon
  * @param bool $isNight
  */
 public function __construct($isNight = false)
 {
     parent::__construct('');
     $this->setLayer();
     if ($isNight == true) {
         $this->setAsNight();
     }
 }
Ejemplo n.º 3
0
 /**
  * Weather Icon
  */
 public function __construct()
 {
     parent::__construct('');
     $this->setLayer();
 }
Ejemplo n.º 4
0
 /**
  * Sport icon
  * @param string $filename
  */
 public function __construct($filename)
 {
     parent::__construct('');
     $this->Filename = $filename;
 }