mirror of
https://github.com/Intervention/image.git
synced 2025-08-19 12:11:26 +02:00
Imagick Ellipse fix
This commit is contained in:
@@ -31,7 +31,7 @@ class EllipseShape extends \Intervention\Image\AbstractShape
|
||||
$circle->setStrokeColor($border_color->getPixel());
|
||||
}
|
||||
|
||||
$circle->ellipse($x, $y, $this->width, $this->height, 0, 360);
|
||||
$circle->ellipse($x, $y, $this->width / 2, $this->height / 2, 0, 360);
|
||||
|
||||
$image->getCore()->drawImage($circle);
|
||||
|
||||
|
Reference in New Issue
Block a user