/** * 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); } }
/** * Weather Icon * @param bool $isNight */ public function __construct($isNight = false) { parent::__construct(''); $this->setLayer(); if ($isNight == true) { $this->setAsNight(); } }
/** * Weather Icon */ public function __construct() { parent::__construct(''); $this->setLayer(); }
/** * Sport icon * @param string $filename */ public function __construct($filename) { parent::__construct(''); $this->Filename = $filename; }