imagesetthickness

Supported Versions: PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
Set the thickness for line drawing
<?php imagesetthickness(GdImage $image, int $thickness): bool
<?php             imagefilledellipse($image->getCore(), $x, $y, $this->width-1, $this->height-1, $background->getInt());



            $border_color = new Color($this->border_color);

            imagesetthickness($image->getCore(), $this->border_width);




            imagearc($image->getCore(), $x, $y, $this->width, $this->height, 0, 359.99, $border_color->getInt());
<?php         

        if ($this->hasBorder()) {

            $border_color = new Color($this->border_color);

            imagesetthickness($image->getCore(), $this->border_width);

            imagepolygon($image->getCore(), $this->points, intval(count($this->points) / 2), $border_color->getInt());

        }

    
<?php         if ($this->hasBorder()) {

            $border_color = new Color($this->border_color);

            imagesetthickness($image->getCore(), $this->border_width);

            imagerectangle($image->getCore(), $this->x1, $this->y1, $this->x2, $this->y2, $border_color->getInt());

        }