public function rect($x, $y, $w, $h) { if (self::DEBUG) { echo __FUNCTION__ . "\n"; } $this->canvas->rect($x, $y, $w, $h); }