1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-19 12:11:26 +02:00

Rename method

This commit is contained in:
Oliver Vogel
2024-03-02 13:51:04 +01:00
parent 9f2ea1b688
commit 882b4a1a42

View File

@@ -41,11 +41,11 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
foreach ($lines as $line) {
foreach ($this->strokeOffsets($this->font) as $offset) {
// Draw the stroke outline under the actual text
$this->maybeDrawText($frame, $line, $drawStroke, $offset);
$this->maybeDrawTextline($frame, $line, $drawStroke, $offset);
}
// Draw the actual text
$this->maybeDrawText($frame, $line, $drawText);
$this->maybeDrawTextline($frame, $line, $drawText);
}
}
@@ -120,7 +120,7 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
* @param Point $offset
* @return void
*/
private function maybeDrawText(
private function maybeDrawTextline(
Frame $frame,
Line $textline,
?ImagickDraw $draw = null,