public function render() { parent::render(); /** * resource $image = $this->context * bool imagefilledrectangle ( resource $image , int $x1 , int $y1 , int $x2 , int $y2 , int $color ) */ }
public function render() { parent::render(); /* * resource $image = $this->context * bool imagefilledellipse ( resource $image , int $cx , int $cy , int $width , int $height , int $color ) */ }
public function render() { parent::render(); $this->context .= "Render Square with params: width - {$this->shape->getWidth()}, height - {$this->shape->getHeight()}!"; echo $this->context; }
public function render() { parent::render(); $this->context .= "Render Circle with radius: {$this->shape->getRadius()}!"; echo $this->context; }