Exemplo n.º 1
0
 /**
  * @param string $text
  * @param float $x
  * @param float $y
  */
 public function __construct($text, $x, $y)
 {
     parent::__construct($text);
     $this->x = (double) $x;
     $this->y = (double) $y;
 }
Exemplo n.º 2
0
 public function __construct($text = null)
 {
     parent::__construct();
     $this->_text = $text;
 }
Exemplo n.º 3
0
 public function __construct($text = null, $type = 'text', $src = null)
 {
     parent::__construct($text, $type);
     $this->_src = $src;
 }