1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-30 17:19:50 +02:00
This commit is contained in:
Oliver Vogel
2024-03-02 13:50:18 +01:00
parent a673763e14
commit 9f2ea1b688

View File

@@ -126,6 +126,7 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
?ImagickDraw $draw = null,
Point $offset = new Point(),
): void {
if ($draw !== null) {
$frame->native()->annotateImage(
$draw,
$textline->position()->x() + $offset->x(),
@@ -134,6 +135,7 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
(string) $textline
);
}
}
/**
* Return imagick font processor