private function createRectangle($color)
    {
        imagefilledrectangle(
            $this->resource,
            0,
            0,
            $this->width,
            $this->height,
            $color
        );
    }
private function createRectangle($color)
    {
        imagefilledrectangle(
            $this->resource,
            0,
            0,
            $this->width,
            $this->height,
            $color
        );
    }
private function createRectangle ( $ color ) { imagefilledrectangle ( $ this -> resource , 0 , 0 , $ this -> width , $ this -> height , $ color ) ; }
Creates a filled rectangle.

@access private
@return void
Creates a filled rectangle .