mirror of
https://github.com/Intervention/image.git
synced 2025-08-21 05:01:20 +02:00
Rename method
This commit is contained in:
@@ -41,11 +41,11 @@ class TextModifier extends AbstractTextModifier implements ModifierInterface
|
|||||||
foreach ($lines as $line) {
|
foreach ($lines as $line) {
|
||||||
foreach ($this->strokeOffsets($this->font) as $offset) {
|
foreach ($this->strokeOffsets($this->font) as $offset) {
|
||||||
// Draw the stroke outline under the actual text
|
// Draw the stroke outline under the actual text
|
||||||
$this->maybeDrawText($frame, $line, $drawStroke, $offset);
|
$this->maybeDrawTextline($frame, $line, $drawStroke, $offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw the actual text
|
// 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
|
* @param Point $offset
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
private function maybeDrawText(
|
private function maybeDrawTextline(
|
||||||
Frame $frame,
|
Frame $frame,
|
||||||
Line $textline,
|
Line $textline,
|
||||||
?ImagickDraw $draw = null,
|
?ImagickDraw $draw = null,
|
||||||
|
Reference in New Issue
Block a user