mirror of
https://github.com/Intervention/image.git
synced 2025-08-19 12:11:26 +02:00
Rename method
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user