Forum und email

imagefttext

(PHP 4 >= 4.0.7, PHP 5)

imagefttext — Write text to the image using fonts using FreeType 2

Описание

array imagefttext ( resource $image , float $size , float $angle , int $x , int $y , int $col , string $font_file , string $text [, array $extrainfo ] )
Warning

К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

Список параметров

image

An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().

size

angle

x

y

col

font_file

text

extrainfo

Возвращаемые значения

This function returns an array containing the following elements:

0 lower left x-coordinate
1 lower left y-coordinate
2 lower right x-coordinate
3 lower right y-coordinate
4 upper right x-coordinate
5 upper right y-coordinate
6 upper left x-coordinate
7 upper left y-coordinate

Примечания

Note: Эта функция нуждается в GD версии 2.0.1 или выше.

Note: This function is only available if PHP is compiled with freetype support (--with-freetype-dir=DIR)

Список изменений

Версия Список изменений

Версия Описание
4.3.5 extrainfo was made optional.