imagettftext
Intervention/image
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Write text to the image using TrueType fonts
imagettftext
(
GdImage $image
,
float $size
,
float $angle
,
int $x
,
int $y
,
int $color
,
string $font_filename
,
string $text
,
array $options
= []): array|
false
imagealphablending
(
$image
->
getCore
(),
true
);
imagettftext
(
$image
->
getCore
(),
$this
->
getPointSize
(),
$this
->
angle
,
$posx
,
$posy
,
$color
->
getInt
(),
$this
->
file
,
$this
->
text
);
} else {
src/Intervention/Image/Gd/Font.php