mirror of
https://github.com/Intervention/image.git
synced 2025-08-31 09:31:53 +02:00
Fix bug
This commit is contained in:
@@ -126,6 +126,7 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
|
|||||||
?ImagickDraw $draw = null,
|
?ImagickDraw $draw = null,
|
||||||
Point $offset = new Point(),
|
Point $offset = new Point(),
|
||||||
): void {
|
): void {
|
||||||
|
if ($draw !== null) {
|
||||||
$frame->native()->annotateImage(
|
$frame->native()->annotateImage(
|
||||||
$draw,
|
$draw,
|
||||||
$textline->position()->x() + $offset->x(),
|
$textline->position()->x() + $offset->x(),
|
||||||
@@ -134,6 +135,7 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
|
|||||||
(string) $textline
|
(string) $textline
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return imagick font processor
|
* Return imagick font processor
|
||||||
|
Reference in New Issue
Block a user