Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $this->header_set = true;
     $this->set_style_defaults();
     $this->set_class_defaults();
 }
Esempio n. 2
0
 public function __construct($cols = 0, $rows = 0, $fixed = false)
 {
     parent::__construct();
     $this->numcols = $cols;
     $this->numrows = $rows;
     $this->fixed = $fixed;
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $this->width = "auto";
     $this->height = "auto";
     $this->header = "";
     $this->content = "";
     $this->type = "header1";
 }
Esempio n. 4
0
 public function __construct($width, $height, $bgcolor = 'rgba(255,255,255,0)')
 {
     parent::__construct($this->createCanvas($width, $height, $bgcolor));
     // Set brush color to opaque black
     $this->color = imagecolorallocate($this->gd, 0, 0, 0);
 }