imagefttext
(PHP 4 >= 4.0.7, PHP 5, PHP 7)
imagefttext — Escreve texto na imagem usando fontes FreeType 2
Descrição
array imagefttext
( resource
$image
, float $size
, float $angle
, int $x
, int $y
, int $col
, string $font_file
, string $text
[, array $extrainfo
] )Warning
Esta função não está documentada; somente a lista de argumentos está disponível.
Parâmetros
-
image -
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
-
size -
-
angle -
-
x -
-
y -
-
col -
-
font_file -
-
text -
-
extrainfo -
Valor Retornado
Esta função retorna um array contendo os seguintes elementos:
| 0 | coordenada x inferior à esquerda |
| 1 | coordenada y inferior à esquerda |
| 2 | coordenada x inferior à direita |
| 3 | coordenada y inferior à direita |
| 4 | coordenada x superior à direita |
| 5 | coordenada y superior à direita |
| 6 | coordenada x superior à esquerda |
| 7 | coordenada y superior à esquerda |
Notas
Note: This function requires GD 2.0.1 or later (2.0.28 or later is recommended).
Note: This function is only available if PHP is compiled with freetype support (--with-freetype-dir=DIR )
Changelog
| Versão | Descrição |
|---|---|
| 4.3.5 |
extrainfo tornou-se opcional.
|