1
0
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:
Oliver Vogel
2014-05-12 17:53:53 +02:00
parent 872e56db01
commit bf0c03a58e

View File

@@ -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);