mirror of
https://github.com/Intervention/image.git
synced 2025-09-01 18:02:45 +02:00
Draw lines antialiased with gd driver
This commit is contained in:
@@ -16,6 +16,7 @@ class DrawLineModifier extends AbstractDrawModifier
|
|||||||
public function apply(ImageInterface $image): ImageInterface
|
public function apply(ImageInterface $image): ImageInterface
|
||||||
{
|
{
|
||||||
foreach ($image as $frame) {
|
foreach ($image as $frame) {
|
||||||
|
imageantialias($frame->native(), true);
|
||||||
imageline(
|
imageline(
|
||||||
$frame->native(),
|
$frame->native(),
|
||||||
$this->drawable->start()->x(),
|
$this->drawable->start()->x(),
|
||||||
|
Reference in New Issue
Block a user